File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function run_tests {
66
66
time MIRIFLAGS=" ${MIRIFLAGS-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test $TARGET_FLAG tests/{pass,panic}
67
67
fi
68
68
if [ -n " ${MANY_SEEDS-} " ]; then
69
- # Also run some many-seeds tests.
69
+ # Also run some many-seeds tests. (Also tests `./miri run`.)
70
70
time for FILE in tests/many-seeds/* .rs; do
71
71
./miri run " --many-seeds=0..$MANY_SEEDS " $TARGET_FLAG " $FILE "
72
72
done
@@ -75,6 +75,8 @@ function run_tests {
75
75
# Check that the benchmarks build and run, but only once.
76
76
time HYPERFINE=" hyperfine -w0 -r1" ./miri bench $TARGET_FLAG
77
77
fi
78
+ # Smoke-test `./miri run --dep`.
79
+ ./miri run $TARGET_FLAG --dep tests/pass-dep/getrandom.rs
78
80
79
81
# # test-cargo-miri
80
82
# On Windows, there is always "python", not "python3" or "python2".
You can’t perform that action at this time.
0 commit comments