Skip to content

Commit d51243d

Browse files
authored
Merge pull request #5217 from xbauch/incremental-one-loop-rebase
Incremental unwinding of one specified loop
2 parents 0115923 + ca7dc8c commit d51243d

File tree

91 files changed

+2540
-1235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2540
-1235
lines changed

regression/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(test_pl_path "${CMAKE_CURRENT_SOURCE_DIR}/test.pl")
33
macro(add_test_pl_profile name cmdline flag profile)
44
add_test(
55
NAME "${name}-${profile}"
6-
COMMAND ${test_pl_path} -e -p -c ${cmdline} ${flag} ${ARGN}
6+
COMMAND ${test_pl_path} -e -p -c "${cmdline}" ${flag} ${ARGN}
77
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
88
)
99
set_tests_properties("${name}-${profile}" PROPERTIES
@@ -31,6 +31,7 @@ add_subdirectory(goto-instrument)
3131
add_subdirectory(cpp)
3232
add_subdirectory(cbmc-concurrency)
3333
add_subdirectory(cbmc-cover)
34+
add_subdirectory(cbmc-incr-oneloop)
3435
add_subdirectory(goto-instrument-typedef)
3536
add_subdirectory(smt2_solver)
3637
add_subdirectory(smt2_strings)

regression/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ DIRS = cbmc \
99
cpp \
1010
cbmc-concurrency \
1111
cbmc-cover \
12+
cbmc-incr-oneloop \
1213
goto-instrument-typedef \
1314
smt2_solver \
1415
smt2_strings \
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_test_pl_tests(
2+
"perl -e 'alarm shift @ARGV; exec @ARGV' 8 $<TARGET_FILE:cbmc> --slice-formula"
3+
)

regression/cbmc-incr-oneloop/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
default: tests.log
22

3+
# Note the `perl -e` serves the purpose of providing timeout
34
test:
4-
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 30 ../../../src/cbmc/cbmc --slice-formula"
5+
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 8 ../../../src/cbmc/cbmc --slice-formula"
56

67
tests.log: ../test.pl
7-
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 30 ../../../src/cbmc/cbmc --slice-formula"
8+
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 8 ../../../src/cbmc/cbmc --slice-formula"
89

910
show:
1011
@for dir in *; do \

0 commit comments

Comments
 (0)