Skip to content

Commit 0c20014

Browse files
authored
Merge pull request diffblue#2513 from tautschnig/clean
Regression test clean target and test.pl fix
2 parents 4c14354 + 2be11f3 commit 0c20014

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

jbmc/regression/jbmc-strings/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ show:
2828
clean:
2929
find -name '*.out' -execdir $(RM) '{}' \;
3030
find -name '*.gb' -execdir $(RM) '{}' \;
31-
$(RM) tests.log
31+
$(RM) tests.log tests-symex-driven-loading.log

jbmc/regression/jbmc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ show:
2020
clean:
2121
find -name '*.out' -execdir $(RM) '{}' \;
2222
find -name '*.gb' -execdir $(RM) '{}' \;
23-
$(RM) tests.log
23+
$(RM) tests.log tests-symex-driven-loading.log
2424

2525
%.class: %.java ../../src/org.cprover.jar
2626
javac -g -cp ../../src/org.cprover.jar:. $<

regression/cbmc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ show:
1515

1616
clean:
1717
find -name '*.out' -execdir $(RM) '{}' \;
18-
find -name '*.gb' -execdir $(RM) '{}' \;
18+
find -name '*.smt2' -execdir $(RM) '{}' \;
1919
$(RM) tests.log

regression/goto-gcc/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ show:
1818
clean:
1919
find -name '*.out' -execdir $(RM) '{}' \;
2020
find -name '*.gb' -execdir $(RM) '{}' \;
21+
find -name '*.goto-cc-saved' -execdir $(RM) '{}' \;
2122
$(RM) tests.log

regression/invariants/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ show:
2525

2626
driver$(EXEEXT): $(OBJ)
2727
$(LINKBIN)
28+
29+
clean:
30+
find -name '*.out' -execdir $(RM) '{}' \;
31+
$(RM) driver$(EXEEXT) driver$(DEPEXT) driver$(OBJEXT)
32+
$(RM) tests.log

regression/test.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ ($)
421421
close LOG;
422422

423423
if($opt_p && $failures != 0) {
424-
open LOG,"<tests.log" or die "Failed to open tests.log\n";
424+
open LOG,"<$logfile_name" or die "Failed to open $logfile_name\n";
425425

426426
my $printed_this_test = 1;
427427
my $current_test = "";

0 commit comments

Comments
 (0)