Skip to content

Commit 2247dcb

Browse files
committed
Deactivate three broken tests on MacOS.
The reason we are deactivating the tests is that there was a change to the `assert.h` header under MacOS that makes it now include some other C++ headers which include `type_traits` causing template errors that have broken CI under that platform.
1 parent a46f12d commit 2247dcb

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

regression/ansi-c/CMakeLists.txt

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
2-
add_test_pl_tests(
3-
"$<TARGET_FILE:goto-cc>" -X gcc-only
4-
)
2+
add_test_pl_tests(
3+
"$<TARGET_FILE:goto-cc>" -X gcc-only
4+
)
5+
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
6+
add_test_pl_tests(
7+
"$<TARGET_FILE:goto-cc>" -X mac-frontend-broken
8+
)
59
else()
6-
add_test_pl_tests(
7-
"$<TARGET_FILE:goto-cc>"
8-
)
9-
add_test_pl_profile(
10-
"ansi-c-c++-front-end"
11-
"$<TARGET_FILE:goto-cc> -xc++ -D_Bool=bool"
12-
"-C;-I;test-c++-front-end;-s;c++-front-end"
13-
"CORE"
14-
)
10+
add_test_pl_tests(
11+
"$<TARGET_FILE:goto-cc>"
12+
)
13+
14+
add_test_pl_profile(
15+
"ansi-c-c++-front-end"
16+
"$<TARGET_FILE:goto-cc> -xc++ -D_Bool=bool"
17+
"-C;-I;test-c++-front-end;-s;c++-front-end"
18+
"CORE"
19+
)
1520
endif()

regression/ansi-c/array_initialization2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE test-c++-front-end
1+
CORE test-c++-front-end mac-frontend-broken
22
main.c
33

44
^EXIT=0$

regression/ansi-c/float_constant2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE test-c++-front-end
1+
CORE test-c++-front-end mac-frontend-broken
22
main.c
33

44
^EXIT=0$

regression/ansi-c/goto_convert_switch_range_case_valid/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE test-c++-front-end
1+
CORE test-c++-front-end mac-frontend-broken
22
main.c
33

44
^EXIT=0$

0 commit comments

Comments
 (0)