File tree Expand file tree Collapse file tree 4 files changed +7
-32
lines changed Expand file tree Collapse file tree 4 files changed +7
-32
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,3 @@ This folder contains the CProver regression test-suite.
25
25
These tests are known to not work with Z3 (the version running on our CI).
26
26
- ` thorough-z3-smt-backend ` :
27
27
These tests are too slow to be run in CI with Z3.
28
-
29
- ### Platform
30
-
31
- - ` winbug ` :
32
- These tests are currently known to be failing on Windows,
33
- but passing on other platforms. https://github.com/diffblue/cbmc/pull/5572
34
- will address one part thereof; the remaining ones are C++ tests that fail on
35
- both Windows and MacOS for our lack of C++-11 support.
Original file line number Diff line number Diff line change 1
1
if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" )
2
2
set (gcc_only -X gcc-only )
3
- set (gcc_only_string "-X;gcc-only;" )
4
- set (exclude_win_broken_tests -X winbug )
5
- # We add the string at the end of the exclusion list, so it must not
6
- # have the `;` at the end or it bugs out.
7
- set (exclude_win_broken_tests_string "-X;winbug" )
3
+ set (gcc_only_string "-X;gcc-only" )
8
4
else ()
9
5
set (gcc_only "" )
10
6
set (gcc_only_string "" )
11
- set (exclude_win_broken_tests "" )
12
- set (exclude_win_broken_tests_string "" )
13
7
endif ()
14
8
15
9
add_test_pl_tests (
16
- "$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only} ${exclude_win_broken_tests}
10
+ "$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only}
17
11
)
18
12
19
13
add_test_pl_profile (
20
14
"book-examples-paths-lifo"
21
15
"$<TARGET_FILE:cbmc> --paths lifo"
22
- "-C;-X;thorough-paths;-X;smt-backend;-X;paths-lifo-expected-failure;${gcc_only_string} -s;paths-lifo; ${exclude_win_broken_tests_string} "
16
+ "-C;-X;thorough-paths;-X;smt-backend;-X;paths-lifo-expected-failure;${gcc_only_string} -s;paths-lifo"
23
17
"CORE"
24
18
)
25
19
26
20
add_test_pl_profile (
27
21
"book-examples-cprover-smt2"
28
22
"$<TARGET_FILE:cbmc> --cprover-smt2"
29
- "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt-backend;-X;thorough-cprover-smt-backend;${gcc_only_string} -s;cprover-smt2; ${exclude_win_broken_tests_string} "
23
+ "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt-backend;-X;thorough-cprover-smt-backend;${gcc_only_string} -s;cprover-smt2"
30
24
"CORE"
31
25
)
32
26
Original file line number Diff line number Diff line change 1
1
if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" )
2
2
set (gcc_only -X gcc-only )
3
3
set (gcc_only_string "-X;gcc-only;" )
4
- set (exclude_win_broken_tests -X winbug )
5
- # We add the string at the end of the exclusion list, so it must not
6
- # have the `;` at the end or it bugs out.
7
- set (exclude_win_broken_tests_string "-X;winbug" )
8
4
else ()
9
5
set (gcc_only "" )
10
6
set (gcc_only_string "" )
11
- set (exclude_win_broken_tests "" )
12
- set (exclude_win_broken_tests_string "" )
13
7
endif ()
14
8
15
9
add_test_pl_tests (
16
- "$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only} ${exclude_win_broken_tests}
10
+ "$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only}
17
11
)
18
12
19
13
add_test_pl_profile (
20
14
"cbmc-paths-lifo"
21
15
"$<TARGET_FILE:cbmc> --paths lifo"
22
- "-C;-X;thorough-paths;-X;smt-backend;-X;paths-lifo-expected-failure;${gcc_only_string} -s;paths-lifo; ${exclude_win_broken_tests_string} "
16
+ "-C;-X;thorough-paths;-X;smt-backend;-X;paths-lifo-expected-failure;${gcc_only_string} -s;paths-lifo"
23
17
"CORE"
24
18
)
25
19
26
20
add_test_pl_profile (
27
21
"cbmc-cprover-smt2"
28
22
"$<TARGET_FILE:cbmc> --cprover-smt2"
29
- "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt-backend;-X;thorough-cprover-smt-backend;${gcc_only_string} -s;cprover-smt2; ${exclude_win_broken_tests_string} "
23
+ "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt-backend;-X;thorough-cprover-smt-backend;${gcc_only_string} -s;cprover-smt2"
30
24
"CORE"
31
25
)
32
26
Original file line number Diff line number Diff line change 8
8
--
9
9
Ensure that --export-symex-ready-goto exported.symex-ready.goto terminates
10
10
with error when incorrectly used.
11
-
12
- The reason why we use `winbug` is that it fails on certain windows system
13
- probably due to different interpretation of "". Not a bug, but we're using
14
- that label to remain consistent with other parts of the codebase, and not
15
- to unnecessarily introduce new ones for simple use cases.
You can’t perform that action at this time.
0 commit comments