10
10
endif
11
11
12
12
ifeq ($(BUILD_ENV_ ) ,MSVC)
13
- excluded_tests = -X gcc-only
13
+ excluded_tests = -X gcc-only -X clang-x86-only
14
14
else
15
15
ifeq ($(BUILD_ENV_ ) ,OSX)
16
16
# In MacOS, a change in the assert.h header file
@@ -20,17 +20,21 @@ ifeq ($(BUILD_ENV_),OSX)
20
20
# <assert.h> or <cassert> headers.
21
21
excluded_tests = -X macos-assert-broken
22
22
endif
23
+ ifeq ($(filter x86_64 i386,$(shell uname -m) ) ,)
24
+ excluded_tests += -X clang-x86-only
25
+ endif
23
26
endif
24
27
25
28
test :
26
29
if which clang ; then \
27
30
../test.pl -e -p -c " $( exe) --native-compiler clang" $(excluded_tests ) ; \
28
31
fi
29
32
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 && \
31
35
../test.pl -e -p -c $(exe ) $(excluded_tests ) -I fake-gcc-version ; \
32
36
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 ; \
34
38
fi
35
39
ifneq ($(BUILD_ENV_ ) ,MSVC)
36
40
@../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
41
45
../test.pl -e -p -c " $( exe) --native-compiler clang" $(excluded_tests ) ; \
42
46
fi
43
47
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 && \
45
50
../test.pl -e -p -c $(exe ) $(excluded_tests ) -I fake-gcc-version ; \
46
51
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 ; \
48
53
fi
49
54
ifneq ($(BUILD_ENV_ ) ,MSVC)
50
55
@../test.pl -e -p -c "$(exe) -xc++ -D_Bool=bool" -I test-c++-front-end -s c++-front-end $(excluded_tests)
0 commit comments