Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ca151c0

Browse files
committedApr 1, 2024
smoke-test 'x.py test --miri' on CI
1 parent d8ea6ee commit ca151c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,8 @@ case $HOST_TARGET in
6262
exit 1
6363
;;
6464
esac
65+
# Also smoke-test `x.py test --miri`. This doesn't run any actual tests (that would take too long),
66+
# but it ensures that the crates build properly when tested with Miri.
67+
python3 "$X_PY" test --miri --stage 2 library/core --test-args notest
68+
python3 "$X_PY" test --miri --stage 2 library/alloc --test-args notest
69+
python3 "$X_PY" test --miri --stage 2 library/std --test-args notest

0 commit comments

Comments
 (0)
Please sign in to comment.