-
Notifications
You must be signed in to change notification settings - Fork 25
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
Nextest #161
Conversation
In clippy when we see if env::args().any(|arg| arg == "--list") {
if !env::args().any(|arg| arg == "--ignored") {
println!("compile_test: test");
}
return;
} With the actual list of tests it will execute it once per test (at some level of parallelism) which would be slower when it already implements internal concurrency and can reuse aux builds between tests. Seems like concurrent compilation of the same aux file has some problems too
|
if config.filter_exact | ||
&& config.filter_files.len() == 1 | ||
&& config.filter_files[0] == "ui_test" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If TESTNAME
is used there could be some other filters in here since args extends the config's list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess... filtering out just one specific name seems not great tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I wouldn't be too fussed if you ignored that
Fix `i686-unknown-linux-gnu` CI job When testing oli-obk/ui_test#161 I gave `--ignored` a try, I was surprised to see many of the 32bit tests passing even though I'm on a 64bit target Turns out the `.stderr`s were incorrect, and our `i686-unknown-linux-gnu` job has been running `x86_64-unknown-linux-gnu` so it didn't get picked up changelog: none
Fix running compile-test under cargo nextest `ui_test` itself has `cargo nextest` support which we now use - oli-obk/ui_test#161 It prints `ui_test` as its test name whereas we printed `compile_test`, this ended up being treated as a test name filter causing all the tests to be filtered out changelog: none
fixes #158
cc @Alexendoo