about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoss Smyth <18294397+RossSmyth@users.noreply.github.com>2024-05-08 14:44:06 -0400
committerRoss Smyth <18294397+RossSmyth@users.noreply.github.com>2024-05-08 18:05:28 -0400
commit6e564ed9fdce38a56efc3feeaccf171bc91d92c9 (patch)
tree82e0b66187f3e1ae56e26180b71baa5dff63cbde
parent6580a22726abf9544c0752a3cd26860643b8aa5d (diff)
downloadrust-6e564ed9fdce38a56efc3feeaccf171bc91d92c9.tar.gz
rust-6e564ed9fdce38a56efc3feeaccf171bc91d92c9.zip
Update CI script for the miri-script test changes
-rwxr-xr-xsrc/tools/miri/ci/ci.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/ci/ci.sh b/src/tools/miri/ci/ci.sh
index c28a6f183b3..18f1bf18c7d 100755
--- a/src/tools/miri/ci/ci.sh
+++ b/src/tools/miri/ci/ci.sh
@@ -59,7 +59,7 @@ function run_tests {
     # them. Also error locations change so we don't run the failing tests.
     # We explicitly enable debug-assertions here, they are disabled by -O but we have tests
     # which exist to check that we panic on debug assertion failures.
-    time MIRIFLAGS="${MIRIFLAGS-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
+    time MIRIFLAGS="${MIRIFLAGS-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test tests/{pass,panic}
   fi
   if [ -n "${MANY_SEEDS-}" ]; then
     # Also run some many-seeds tests.
@@ -107,7 +107,7 @@ function run_tests_minimal {
     exit 1
   fi
 
-  time ./miri test -- "$@"
+  time ./miri test "$@"
 
   # Ensure that a small smoke test of cargo-miri works.
   time cargo miri run --manifest-path test-cargo-miri/no-std-smoke/Cargo.toml --target ${MIRI_TEST_TARGET-$HOST_TARGET}