Skip to content

Commit aed3ce0

Browse files
committed
Add exclusion mechanism to cmbc-incr/
This folder was also missing a `CMakeLists.txt` which means that the tests were not even being run before.
1 parent 8bba0ab commit aed3ce0

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
2+
set(exclude_win_broken_tests -X winbug)
3+
else()
4+
set(exclude_win_broken_tests "")
5+
endif()
6+
7+
add_test_pl_tests(
8+
"perl ../timeout.pl 30 $<TARGET_FILE:cbmc> --incremental --magic-numbers" ${exclude_win_broken_tests}
9+
)

regression/cbmc-incr/alarm1/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.c
33
--unwind-max 25 --no-unwinding-assertions
44
^EXIT=0$

regression/cbmc-incr/alarm3/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.c
33

44
^EXIT=10$

regression/cbmc-incr/cruise1/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.c
33
--unwind-max 10 --no-unwinding-assertions
44
^EXIT=0$

regression/cbmc-incr/timeout.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
alarm shift @ARGV;
2+
exec @ARGV;

0 commit comments

Comments
 (0)