Skip to content

Commit cf06f35

Browse files
committed
cbmc-java: Print details of errors in regression tests
This is the same as various other directories already do.
1 parent 7eae44c commit cf06f35

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

regression/cbmc-java/Makefile

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

33
test:
4-
@../test.pl -c ../../../src/cbmc/cbmc
4+
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
5+
../failed-tests-printer.pl ; \
6+
exit 1 ; \
7+
fi
58

69
tests.log: ../test.pl
7-
@../test.pl -c ../../../src/cbmc/cbmc
10+
@if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
11+
../failed-tests-printer.pl ; \
12+
exit 1 ; \
13+
fi
814

915
show:
1016
@for dir in *; do \

0 commit comments

Comments
 (0)