fix running Miri tests
This commit is contained in:
parent
8e1162f07e
commit
873ab04d89
1 changed files with 4 additions and 1 deletions
|
@ -638,7 +638,10 @@ impl Step for Miri {
|
||||||
// Forward test filters.
|
// Forward test filters.
|
||||||
cargo.arg("--").args(builder.config.cmd.test_args());
|
cargo.arg("--").args(builder.config.cmd.test_args());
|
||||||
|
|
||||||
add_flags_and_try_run_tests(builder, &mut cargo.into());
|
// This can NOT be `add_flags_and_try_run_tests` since the Miri test runner
|
||||||
|
// does not understand those flags!
|
||||||
|
let mut cargo = Command::from(cargo);
|
||||||
|
builder.run(&mut cargo);
|
||||||
|
|
||||||
// # Run `cargo miri test`.
|
// # Run `cargo miri test`.
|
||||||
// This is just a smoke test (Miri's own CI invokes this in a bunch of different ways and ensures
|
// This is just a smoke test (Miri's own CI invokes this in a bunch of different ways and ensures
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue