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 1313
1414# Test
1515function 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 "
1818 else
1919 echo " Testing host architecture"
2020 fi
2121
2222 ./miri test --locked
23- if ! [ -n " ${FOREIGN_TARGET +exists} " ]; then
23+ if ! [ -n " ${MIRI_TEST_TARGET +exists} " ]; then
2424 # Only for host architecture: tests with MIR optimizations
2525 MIRI_TEST_FLAGS=" -Z mir-opt-level=3" ./miri test
2626 fi
@@ -38,10 +38,10 @@ MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
3838
3939if [ " $TRAVIS_OS_NAME " == linux ]; then
4040 # 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
4242 # 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
4444elif [ " $TRAVIS_OS_NAME " == osx ]; then
4545 # 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
4747fi
You can’t perform that action at this time.
0 commit comments