File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# Test
15
15
function run_tests {
16
- if [ -n " ${FOREIGN_TARGET +exists} " ]; then
17
- echo " Testing foreign architecture $FOREIGN_TARGET "
16
+ if [ -n " ${MIRI_TEST_TARGET +exists} " ]; then
17
+ echo " Testing foreign architecture $MIRI_TEST_TARGET "
18
18
else
19
19
echo " Testing host architecture"
20
20
fi
21
21
22
22
./miri test --locked
23
- if ! [ -n " ${FOREIGN_TARGET +exists} " ]; then
23
+ if ! [ -n " ${MIRI_TEST_TARGET +exists} " ]; then
24
24
# Only for host architecture: tests with MIR optimizations
25
25
MIRI_TEST_FLAGS=" -Z mir-opt-level=3" ./miri test
26
26
fi
@@ -38,10 +38,10 @@ MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
38
38
39
39
if [ " $TRAVIS_OS_NAME " == linux ]; then
40
40
# cross-test 64bit macOS from Linux
41
- FOREIGN_TARGET =x86_64-apple-darwin run_tests
41
+ MIRI_TEST_TARGET =x86_64-apple-darwin run_tests
42
42
# cross-test 32bit Windows from Linux
43
- FOREIGN_TARGET =i686-pc-windows-msvc run_tests
43
+ MIRI_TEST_TARGET =i686-pc-windows-msvc run_tests
44
44
elif [ " $TRAVIS_OS_NAME " == osx ]; then
45
45
# cross-test 64bit Windows from macOS
46
- FOREIGN_TARGET =x86_64-pc-windows-msvc run_tests
46
+ MIRI_TEST_TARGET =x86_64-pc-windows-msvc run_tests
47
47
fi
You can’t perform that action at this time.
0 commit comments