File tree 5 files changed +9
-28
lines changed
5 files changed +9
-28
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,15 @@ set(sat_impl "minisat2" CACHE STRING
34
34
"This setting controls the SAT library which is used. Valid values are 'minisat2' and 'glucose'"
35
35
)
36
36
37
- add_subdirectory (src)
38
- add_subdirectory (jbmc)
39
-
40
37
if (${enable_cbmc_tests} )
41
38
enable_testing ()
42
39
endif ()
43
- add_subdirectory (unit)
40
+
41
+ add_subdirectory (src)
44
42
add_subdirectory (regression)
43
+ add_subdirectory (unit)
44
+
45
+ add_subdirectory (jbmc)
45
46
46
47
set_target_properties (
47
48
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" )
22
2
23
3
# For the best possible utilisation of multiple cores when
24
4
# running tests in parallel, it is important that these directories are
Original file line number Diff line number Diff line change 1
1
add_test_pl_tests(
2
- "$<TARGET_FILE:goto-analyzer >"
2
+ "$<TARGET_FILE:janalyzer >"
3
3
)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_test_pl_tests(
3
3
)
4
4
5
5
add_test_pl_profile(
6
- "cbmc-java -symex-driven-lazy-loading"
6
+ "jbmc -symex-driven-lazy-loading"
7
7
"$<TARGET_FILE:jbmc> --symex-driven-lazy-loading"
8
8
"-C;-X;symex-driven-lazy-loading-expected-failure"
9
9
"CORE"
Original file line number Diff line number Diff line change 1
1
add_test_pl_tests(
2
- "$<TARGET_FILE:goto-diff >"
2
+ "$<TARGET_FILE:jdiff >"
3
3
)
You can’t perform that action at this time.
0 commit comments