1010endif
1111
1212ifeq ($(BUILD_ENV_ ) ,MSVC)
13- excluded_tests = -X gcc-only
13+ excluded_tests = -X gcc-only -X clang-x86-only
1414else
1515ifeq ($(BUILD_ENV_ ) ,OSX)
1616 # In MacOS, a change in the assert.h header file
@@ -20,17 +20,21 @@ ifeq ($(BUILD_ENV_),OSX)
2020 # <assert.h> or <cassert> headers.
2121 excluded_tests = -X macos-assert-broken
2222endif
23+ ifeq ($(filter x86_64 i386,$(shell uname -m) ) ,)
24+ excluded_tests += -X clang-x86-only
25+ endif
2326endif
2427
2528test :
2629 if which clang ; then \
2730 ../test.pl -e -p -c " $( exe) --native-compiler clang" $(excluded_tests ) ; \
2831 fi
2932 if which gcc ; then \
30- ../test.pl -e -p -c " $( exe) --native-compiler gcc" $(excluded_tests ) -X fake-gcc-version && \
33+ ../test.pl -e -p -c " $( exe) --native-compiler gcc" $(excluded_tests ) \
34+ -X fake-gcc-version -X clang-x86-only && \
3135 ../test.pl -e -p -c $(exe ) $(excluded_tests ) -I fake-gcc-version ; \
3236 elif ! which clang ; then \
33- ../test.pl -e -p -c $(exe ) $(excluded_tests ) ; \
37+ ../test.pl -e -p -c $(exe ) $(excluded_tests ) -X clang-x86-only ; \
3438 fi
3539ifneq ($(BUILD_ENV_ ) ,MSVC)
3640 @../test.pl -e -p -c "$(exe) -xc++ -D_Bool=bool" -I test-c++-front-end -s c++-front-end $(excluded_tests)
@@ -41,10 +45,11 @@ tests.log: ../test.pl
4145 ../test.pl -e -p -c " $( exe) --native-compiler clang" $(excluded_tests ) ; \
4246 fi
4347 if which gcc ; then \
44- ../test.pl -e -p -c " $( exe) --native-compiler gcc" $(excluded_tests ) -X fake-gcc-version && \
48+ ../test.pl -e -p -c " $( exe) --native-compiler gcc" $(excluded_tests ) \
49+ -X fake-gcc-version -X clang-x86-only && \
4550 ../test.pl -e -p -c $(exe ) $(excluded_tests ) -I fake-gcc-version ; \
4651 elif ! which clang ; then \
47- ../test.pl -e -p -c $(exe ) $(excluded_tests ) ; \
52+ ../test.pl -e -p -c $(exe ) $(excluded_tests ) -X clang-x86-only ; \
4853 fi
4954ifneq ($(BUILD_ENV_ ) ,MSVC)
5055 @../test.pl -e -p -c "$(exe) -xc++ -D_Bool=bool" -I test-c++-front-end -s c++-front-end $(excluded_tests)
0 commit comments