Feature request: do not abort if single test binary aborts #2813
sebschmi
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
|
Thanks for the request. I don't think nextest should support this kind of feature because it will tend to hide bugs. I'd recommend using a filterset on impacted machines. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
I have a workspace with a few crates, one of which uses some python dependencies that fail to compile on some machines. However, this prevents
cargo nextest runfrom working at all:$ cargo nextest run Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s error: creating test list failed Caused by: for `py_lib_tsalign`, command `/home/sebschmi/git/template-switch-aligner/target/debug/deps/tsalign-b8149d0ba639ceef --list --format terse` exited with exit code 127 --- stdout: --- stderr: /home/sebschmi/git/template-switch-aligner/target/debug/deps/tsalign-b8149d0ba639ceef: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory ---Proposal
Instead of aborting, collect tests from binaries that work only. If there is a broken binary, still print the error message somehow, such that the users knows that not all tests are ran as expected.
Alternatives
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions