Skip to content

Commit 8a680e6

Browse files
committed
Exclude known windows broken tests under cpp/
1 parent 0ee4b03 commit 8a680e6

File tree

9 files changed

+19
-13
lines changed

9 files changed

+19
-13
lines changed

regression/cpp/CMakeLists.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
2-
add_test_pl_tests(
3-
"$<TARGET_FILE:goto-cc>" -X gcc-only
4-
)
2+
set(gcc_only -X gcc-only)
3+
else()
4+
set(gcc_only "")
5+
endif()
6+
7+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
8+
set(exclude_win_broken_tests -X winbug)
59
else()
10+
set(exclude_win_broken_tests "")
11+
endif()
12+
613
add_test_pl_tests(
7-
"$<TARGET_FILE:goto-cc>"
14+
"$<TARGET_FILE:goto-cc>" ${gcc_only} ${exclude_win_broken_tests}
815
)
9-
endif()

regression/cpp/Function_Overloading3/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/Method_qualifier1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/Unary_Function_Overload1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/Unary_Function_Overload2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/Unary_Function_Overload3/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/auto1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33
-std=c++11
44
^EXIT=0$

regression/cpp/enum5/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

regression/cpp/switch1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
main.cpp
33

44
^EXIT=0$

0 commit comments

Comments
 (0)