File tree Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,15 @@ set(sat_impl "minisat2" CACHE STRING
3434 "This setting controls the SAT library which is used. Valid values are 'minisat2' and 'glucose'"
3535)
3636
37- add_subdirectory (src)
38- add_subdirectory (jbmc)
39-
4037if (${enable_cbmc_tests} )
4138 enable_testing ()
4239endif ()
43- add_subdirectory (unit)
40+
41+ add_subdirectory (src)
4442add_subdirectory (regression)
43+ add_subdirectory (unit)
44+
45+ add_subdirectory (jbmc)
4546
4647set_target_properties (
4748 analyses
Original file line number Diff line number Diff line change 1- set (test_pl_path "${CMAKE_CURRENT_SOURCE_DIR} /test.pl" )
2-
3- macro (add_test_pl_profile name cmdline flag profile)
4- add_test (
5- NAME "${name} -${profile} "
6- COMMAND ${test_pl_path} -p -c ${cmdline} ${flag} ${ARGN}
7- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
8- )
9- set_tests_properties ("${name} -${profile} " PROPERTIES
10- LABELS "${profile} ;CBMC"
11- )
12- endmacro (add_test_pl_profile)
13-
14- macro (add_test_pl_tests cmdline)
15- get_filename_component (TEST_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME )
16- message (STATUS "Adding tests in directory: ${TEST_DIR_NAME} " )
17- add_test_pl_profile("${TEST_DIR_NAME} " "${cmdline} " -C CORE ${ARGN} )
18- add_test_pl_profile("${TEST_DIR_NAME} " "${cmdline} " -T THOROUGH ${ARGN} )
19- add_test_pl_profile("${TEST_DIR_NAME} " "${cmdline} " -F FUTURE ${ARGN} )
20- add_test_pl_profile("${TEST_DIR_NAME} " "${cmdline} " -K KNOWNBUG ${ARGN} )
21- endmacro (add_test_pl_tests)
1+ set (test_pl_path "${CMAKE_SOURCE_DIR} /regression/test.pl" )
222
233# For the best possible utilisation of multiple cores when
244# running tests in parallel, it is important that these directories are
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_test_pl_tests(
33)
44
55add_test_pl_profile(
6- "cbmc-java -symex-driven-lazy-loading"
6+ "jbmc -symex-driven-lazy-loading"
77 "$<TARGET_FILE:jbmc> --symex-driven-lazy-loading"
88 "-C;-X;symex-driven-lazy-loading-expected-failure"
99 "CORE"
You can’t perform that action at this time.
0 commit comments