Forward CARGO_BUILD_FLAGS to ui_test test suite

This commit is contained in:
Oli Scherer 2022-05-30 07:26:47 +00:00
parent 740574206b
commit 3832227734

2
miri
View File

@ -135,7 +135,7 @@ test|test-debug|bless|bless-debug)
# Then test, and let caller control flags. # Then test, and let caller control flags.
# Only in root project and ui_test as `cargo-miri` has no tests. # Only in root project and ui_test as `cargo-miri` has no tests.
cargo test $CARGO_BUILD_FLAGS "$@" cargo test $CARGO_BUILD_FLAGS "$@"
cargo test --manifest-path ui_test/Cargo.toml "$@" cargo test $CARGO_BUILD_FLAGS --manifest-path ui_test/Cargo.toml "$@"
;; ;;
run|run-debug) run|run-debug)
# Scan for "--target" to set the "MIRI_TEST_TARGET" env var so # Scan for "--target" to set the "MIRI_TEST_TARGET" env var so