File tree 1 file changed +8
-2
lines changed
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 {
95
95
if [ -n " ${MIRI_TEST_TARGET:- } " ]; then
96
96
begingroup " Testing MINIMAL foreign architecture $MIRI_TEST_TARGET : only testing $@ "
97
97
else
98
- begingroup " Testing MINIMAL host architecture: only testing $@ "
98
+ echo " run_tests_minimal requires MIRI_TEST_TARGET to be set"
99
+ exit 1
99
100
fi
100
101
101
102
./miri test -- " $@ "
@@ -106,15 +107,20 @@ function run_tests_minimal {
106
107
endgroup
107
108
}
108
109
109
- # host
110
+ # # Main Testing Logic ##
111
+
112
+ # Host target.
110
113
run_tests
111
114
115
+ # Extra targets.
116
+ # In particular, fully cover all tier 1 targets.
112
117
case $HOST_TARGET in
113
118
x86_64-unknown-linux-gnu)
114
119
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
115
120
MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
116
121
MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
117
122
MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
123
+ # Some targets are only partially supported.
118
124
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
119
125
MIRI_TEST_TARGET=aarch64-linux-android run_tests_minimal hello integer vec panic/panic
120
126
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