Skip to content

Regression test clean target and test.pl fix #2513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jbmc/regression/jbmc-strings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ show:
clean:
find -name '*.out' -execdir $(RM) '{}' \;
find -name '*.gb' -execdir $(RM) '{}' \;
$(RM) tests.log
$(RM) tests.log tests-symex-driven-loading.log
2 changes: 1 addition & 1 deletion jbmc/regression/jbmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ show:
clean:
find -name '*.out' -execdir $(RM) '{}' \;
find -name '*.gb' -execdir $(RM) '{}' \;
$(RM) tests.log
$(RM) tests.log tests-symex-driven-loading.log

%.class: %.java ../../src/org.cprover.jar
javac -g -cp ../../src/org.cprover.jar:. $<
Expand Down
2 changes: 1 addition & 1 deletion regression/cbmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ show:

clean:
find -name '*.out' -execdir $(RM) '{}' \;
find -name '*.gb' -execdir $(RM) '{}' \;
find -name '*.smt2' -execdir $(RM) '{}' \;
$(RM) tests.log
1 change: 1 addition & 0 deletions regression/goto-gcc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ show:
clean:
find -name '*.out' -execdir $(RM) '{}' \;
find -name '*.gb' -execdir $(RM) '{}' \;
find -name '*.goto-cc-saved' -execdir $(RM) '{}' \;
$(RM) tests.log
5 changes: 5 additions & 0 deletions regression/invariants/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ show:

driver$(EXEEXT): $(OBJ)
$(LINKBIN)

clean:
find -name '*.out' -execdir $(RM) '{}' \;
$(RM) driver$(EXEEXT) driver$(DEPEXT) driver$(OBJEXT)
$(RM) tests.log
2 changes: 1 addition & 1 deletion regression/test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ ($)
close LOG;

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

my $printed_this_test = 1;
my $current_test = "";
Expand Down