File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 1- default : tests.log
1+ default : test
22
33include ../../src/config.inc
44include ../../src/common
55
66ifeq ($(BUILD_ENV_ ) ,MSVC)
77 exe=../../../src/goto-cc/goto-cl
88 is_windows=true
9+ GCC_ONLY = -X gcc-only
910else
1011 exe=../../../src/goto-cc/goto-cc
1112 is_windows=false
13+ GCC_ONLY =
1214endif
1315
1416test :
15- @../test.pl -e -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
17+ @../test.pl -e -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)' -X smt-backend $(GCC_ONLY )
18+
19+ test-cprover-smt2 :
20+ @../test.pl -e -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument "../../../src/cbmc/cbmc --cprover-smt2" $(is_windows)' \
21+ -X broken-smt-backend -X thorough-smt-backend \
22+ -X broken-cprover-smt-backend -X thorough-cprover-smt-backend \
23+ -s cprover-smt2 $(GCC_ONLY )
24+
25+ test-z3 :
26+ @../test.pl -e -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument "../../../src/cbmc/cbmc --z3" $(is_windows)' \
27+ -X broken-smt-backend -X thorough-smt-backend \
28+ -X broken-z3-smt-backend -X thorough-z3-smt-backend \
29+ -s z3 $(GCC_ONLY )
30+
31+ tests.log : ../test.pl test
1632
17- tests.log :
18- @../test.pl -e -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
1933
2034clean :
2135 @for dir in * ; do \
2236 $(RM ) tests.log; \
2337 if [ -d " $$ dir" ]; then \
2438 cd " $$ dir" ; \
25- $(RM ) * .out * .gb; \
39+ $(RM ) * .out * .gb * .smt2 ; \
2640 cd ..; \
2741 fi \
2842 done
You can’t perform that action at this time.
0 commit comments