Skip to content

Commit 9e05177

Browse files
author
Daniel Kroening
authored
Merge pull request #1474 from diffblue/jbmc
split up cbmc in cbmc and jbmc
2 parents e847137 + 185206c commit 9e05177

File tree

353 files changed

+1243
-86
lines changed

Some content is hidden

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

353 files changed

+1243
-86
lines changed

regression/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ add_subdirectory(goto-diff)
3535
add_subdirectory(goto-instrument)
3636
add_subdirectory(goto-instrument-typedef)
3737
add_subdirectory(invariants)
38+
add_subdirectory(jbmc-strings)
3839
add_subdirectory(strings)
3940
add_subdirectory(strings-smoke-tests)
4041
add_subdirectory(test-script)

regression/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ DIRS = ansi-c \
1414
goto-instrument-typedef \
1515
invariants \
1616
strings \
17+
jbmc-strings \
1718
strings-smoke-tests \
1819
test-script \
1920
# Empty last line
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
add_test_pl_tests(
2-
"$<TARGET_FILE:cbmc>"
2+
"$<TARGET_FILE:jbmc>"
33
)

regression/cbmc-java-inheritance/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
default: tests.log
22

33
test:
4-
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
4+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
55
../failed-tests-printer.pl ; \
66
exit 1 ; \
77
fi
88

99
tests.log: ../test.pl
10-
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
10+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
1111
../failed-tests-printer.pl ; \
1212
exit 1 ; \
1313
fi

regression/cbmc-java/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
add_test_pl_tests(
2-
"$<TARGET_FILE:cbmc>"
2+
"$<TARGET_FILE:jbmc>"
33
)

regression/cbmc-java/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
default: tests.log
22

33
test:
4-
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
4+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
55
../failed-tests-printer.pl ; \
66
exit 1 ; \
77
fi
88

99
tests.log: ../test.pl
10-
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
10+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
1111
../failed-tests-printer.pl ; \
1212
exit 1 ; \
1313
fi
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_test_pl_tests(
2+
"$<TARGET_FILE:jbmc>"
3+
)

regression/jbmc-strings/Makefile

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
default: tests.log
2+
3+
test:
4+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
5+
../failed-tests-printer.pl ; \
6+
exit 1 ; \
7+
fi
8+
9+
testfuture:
10+
@if ! ../test.pl -c ../../../src/jbmc/jbmc -CF ; then \
11+
../failed-tests-printer.pl ; \
12+
exit 1 ; \
13+
fi
14+
15+
testall:
16+
@if ! ../test.pl -c ../../../src/jbmc/jbmc -CFTK ; then \
17+
../failed-tests-printer.pl ; \
18+
exit 1 ; \
19+
fi
20+
21+
tests.log: ../test.pl
22+
@if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
23+
../failed-tests-printer.pl ; \
24+
exit 1 ; \
25+
fi
26+
27+
show:
28+
@for dir in *; do \
29+
if [ -d "$$dir" ]; then \
30+
vim -o "$$dir/*.c" "$$dir/*.out"; \
31+
fi; \
32+
done;
33+
34+
clean:
35+
find -name '*.out' -execdir $(RM) '{}' \;
36+
find -name '*.gb' -execdir $(RM) '{}' \;
37+
$(RM) tests.log
38+

0 commit comments

Comments
 (0)