Skip to content

Commit b60d7c8

Browse files
committed
Exclude windows broken tests under regression/cbmc-cpp/
1 parent 460c6eb commit b60d7c8

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

regression/cbmc-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:cbmc>" -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:cbmc> --validate-goto-model --validate-ssa-equation"
14+
"$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" ${gcc_only} ${exclude_win_broken_tests}
815
)
9-
endif()

regression/cbmc-cpp/cpp-new/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
--pointer-check
44
^EXIT=0$

regression/cbmc-cpp/cpp1/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
--unwind 1 --unwinding-assertions
44
^EXIT=0$

regression/cbmc-cpp/lvalue1/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)