File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 44 set (is_windows false )
55endif ()
66
7+ if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" )
8+ set (gcc_only -X gcc-only)
9+ set (gcc_only_string "-X;gcc-only;" )
10+ else ()
11+ set (gcc_only "" )
12+ set (gcc_only_string "" )
13+ endif ()
14+
15+
716add_test_pl_tests(
817 "${CMAKE_CURRENT_SOURCE_DIR} /chain.sh $<TARGET_FILE:goto-cc> $<TARGET_FILE:goto-instrument> $<TARGET_FILE:cbmc> ${is_windows} "
918)
19+
20+ ## Enabling these causes a very significant increase in the time taken to run the regressions
21+
22+ #add_test_pl_profile(
23+ # "cbmc-z3"
24+ # "${CMAKE_CURRENT_SOURCE_DIR}/chain.sh $<TARGET_FILE:goto-cc> $<TARGET_FILE:goto-instrument> '$<TARGET_FILE:cbmc> --z3' ${is_windows}"
25+ # "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-z3-backend;-X;thorough-z3-backend;${gcc_only_string}-s;z3"
26+ # "CORE"
27+ #)
28+
29+ #add_test_pl_profile(
30+ # "cbmc-cprover-smt2"
31+ # "${CMAKE_CURRENT_SOURCE_DIR}/chain.sh $<TARGET_FILE:goto-cc> $<TARGET_FILE:goto-instrument> '$<TARGET_FILE:cbmc> --cprover-smt2' ${is_windows}"
32+ # "-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt2-backend;-X;thorough-cprover-smt2-backend;${gcc_only_string}-s;cprover-smt2"
33+ # "CORE"
34+ #)
35+
36+ # solver appears on the PATH in Windows already
37+ #if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
38+ # set_property(
39+ # TEST "cbmc-cprover-smt2-CORE"
40+ # PROPERTY ENVIRONMENT
41+ # "PATH=$ENV{PATH}:$<TARGET_FILE_DIR:smt2_solver>"
42+ # )
43+ #endif()
You can’t perform that action at this time.
0 commit comments