Skip to content

Commit 26b9b4a

Browse files
author
Daniel Kroening
committed
enable --validate-goto-model for all cbmc regressions
This will prevent the introduction of changes that violate the checks in the goto-validation procedure.
1 parent 0181841 commit 26b9b4a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

regression/cbmc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
add_test_pl_tests(
2-
"$<TARGET_FILE:cbmc>" -X smt-backend
2+
"$<TARGET_FILE:cbmc> --validate-goto-model" -X smt-backend
33
)

regression/cbmc/Makefile

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

3-
test:
4-
@../test.pl -p -c ../../../src/cbmc/cbmc -X smt-backend
3+
test: tests.log
54

65
test-cprover-smt2:
76
@../test.pl -p -c "../../../src/cbmc/cbmc --cprover-smt2"
87

98
tests.log: ../test.pl
10-
@../test.pl -p -c ../../../src/cbmc/cbmc -X smt-backend
9+
@../test.pl -p -c "../../../src/cbmc/cbmc --validate-goto-model" -X smt-backend
1110

1211
show:
1312
@for dir in *; do \

0 commit comments

Comments
 (0)