Skip to content

Test infrastructure: add an option to only rerun tests that have failed #3798

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

Closed
smarter opened this issue Jan 10, 2018 · 2 comments · Fixed by #16263
Closed

Test infrastructure: add an option to only rerun tests that have failed #3798

smarter opened this issue Jan 10, 2018 · 2 comments · Fixed by #16263

Comments

@smarter
Copy link
Member

smarter commented Jan 10, 2018

scalac partest supports this with --failed.

@dwijnand
Copy link
Member

This isn't a bug, but I think it's a good candidate for the spree because it doesn't require lots of prior compiler knowledge and having this implemented would help all compiler hackers.

For context scala 2's partest leaves t1234.log files and uses that to determine failed tests. I think Scala 3's test framework uses i1234.out files.

@dwijnand dwijnand removed the prio:low label Jan 11, 2022
@som-snytt
Copy link
Contributor

Thanks, I needed this recently because I'm still bad at running dotty tests. The label should be prio:blocker!

prolativ pushed a commit that referenced this issue Nov 3, 2022
- testCompilation supports running only failed tests with --failed argument
prolativ added a commit that referenced this issue Nov 3, 2022
- testCompilation supports running only failed tests with --failed
argument

fixes #3798
armanbilge pushed a commit to armanbilge/dotty that referenced this issue Nov 3, 2022
- testCompilation supports running only failed tests with --failed
argument

fixes scala#3798
little-inferno pushed a commit to little-inferno/dotty that referenced this issue Jan 25, 2023
- testCompilation supports running only failed tests with --failed argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants