(target_dir: str)
| 531 | |
| 532 | |
| 533 | def copy_output_files(target_dir: str) -> None: |
| 534 | try: |
| 535 | os.mkdir(target_dir) |
| 536 | except OSError: |
| 537 | # Only copy data for the first failure, to avoid excessive output in case |
| 538 | # many tests fail |
| 539 | return |
| 540 | |
| 541 | for fnam in glob.glob("build/*.[ch]"): |
| 542 | shutil.copy(fnam, target_dir) |
| 543 | |
| 544 | sys.stderr.write(f"\nGenerated files: {target_dir} (for first failure only)\n\n") |
no test coverage detected
searching dependent graphs…