Skip to content

Commit 055384d

Browse files
committed
Change Makefile in regression/cbmc-incr-smt2 to support testing with multiple solvers.
Previously the command that was enabling the new SMT backend (and providing the script for invoking the appropriate SMT solver) was passed as part of the options passed in `test.desc`. Since this was removed, and passed as part of the test configuration in the `CMakeLists.txt`, we need to do the same here.
1 parent 436e544 commit 055384d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

regression/cbmc-incr-smt2/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
default: test
1+
default: test.z3
22

33
include ../../src/config.inc
44
include ../../src/common
@@ -9,10 +9,13 @@ else
99
exclude_broken_windows_tests=
1010
endif
1111

12-
test:
13-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --validate-goto-model --validate-ssa-equation --slice-formula" $(exclude_broken_windows_tests)
12+
test.z3:
13+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'z3 --smt2 -in' --validate-goto-model --validate-ssa-equation --slice-formula" $(exclude_broken_windows_tests)
1414

15-
tests.log: ../test.pl test
15+
test.cvc5:
16+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'cvc5 --lang smt --incremental' --validate-goto-model --validate-ssa-equation --slice-formula" $(exclude_broken_windows_tests)
17+
18+
tests.log: ../test.pl test.z3
1619

1720
clean:
1821
find . -name '*.out' -execdir $(RM) '{}' \;

0 commit comments

Comments
 (0)