File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ function run_tests_minimal {
9595 if [ -n " ${MIRI_TEST_TARGET:- } " ]; then
9696 begingroup " Testing MINIMAL foreign architecture $MIRI_TEST_TARGET : only testing $@ "
9797 else
98- begingroup " Testing MINIMAL host architecture: only testing $@ "
98+ echo " run_tests_minimal requires MIRI_TEST_TARGET to be set"
99+ exit 1
99100 fi
100101
101102 ./miri test -- " $@ "
@@ -106,15 +107,20 @@ function run_tests_minimal {
106107 endgroup
107108}
108109
109- # host
110+ # # Main Testing Logic ##
111+
112+ # Host target.
110113run_tests
111114
115+ # Extra targets.
116+ # In particular, fully cover all tier 1 targets.
112117case $HOST_TARGET in
113118 x86_64-unknown-linux-gnu)
114119 MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
115120 MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
116121 MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
117122 MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
123+ # Some targets are only partially supported.
118124 MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec panic/panic concurrency/simple pthread-threadname libc-getentropy libc-getrandom libc-misc libc-fs atomic env align
119125 MIRI_TEST_TARGET=aarch64-linux-android run_tests_minimal hello integer vec panic/panic
120126 MIRI_TEST_TARGET=wasm32-wasi run_tests_minimal no_std integer strings wasm
You can’t perform that action at this time.
0 commit comments