Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runner script might open non-existent coverage file #9

Open
JonathanFoo0523 opened this issue Aug 15, 2024 · 1 comment
Open

Runner script might open non-existent coverage file #9

JonathanFoo0523 opened this issue Aug 15, 2024 · 1 comment
Assignees

Comments

@JonathanFoo0523
Copy link
Collaborator

The runner script for regression might crash with error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/llvm-regression-tests-runner", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/dredd-compiler-testing/dredd_test_runners/llvm_regression_tests_runner/main.py", line 148, in main
    open(dredd_covered_mutants_path, 'r').readlines()]))
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8npapj50/__dredd_covered_mutants'

I believe this happens because dredd with mutant_tracking won't create a new file when there's no covered mutant.

@afd
Copy link
Member

afd commented Aug 15, 2024

Thanks - are you able to push a fix? I guess check whether the file exists, and continue the loop if it does not.

@JonathanFoo0523 JonathanFoo0523 self-assigned this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants