Skip to content

Commit dfb628d

Browse files
committed
smoke-test './miri run --dep'
1 parent c0fb1a7 commit dfb628d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/ci.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function run_tests {
6666
time MIRIFLAGS="${MIRIFLAGS-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test $TARGET_FLAG tests/{pass,panic}
6767
fi
6868
if [ -n "${MANY_SEEDS-}" ]; then
69-
# Also run some many-seeds tests.
69+
# Also run some many-seeds tests. (Also tests `./miri run`.)
7070
time for FILE in tests/many-seeds/*.rs; do
7171
./miri run "--many-seeds=0..$MANY_SEEDS" $TARGET_FLAG "$FILE"
7272
done
@@ -75,6 +75,8 @@ function run_tests {
7575
# Check that the benchmarks build and run, but only once.
7676
time HYPERFINE="hyperfine -w0 -r1" ./miri bench $TARGET_FLAG
7777
fi
78+
# Smoke-test `./miri run --dep`.
79+
./miri run $TARGET_FLAG --dep tests/pass-dep/getrandom.rs
7880

7981
## test-cargo-miri
8082
# On Windows, there is always "python", not "python3" or "python2".

0 commit comments

Comments
 (0)