Skip to content

Commit b3f1e71

Browse files
authored
Merge pull request #8369 from tautschnig/fix-cleanup
Regression cleanup: don't repeatedly remove the same file
2 parents 40572a1 + 1918cde commit b3f1e71

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

regression/cbmc-output-file/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ tests.log:
1010
@../test.pl -f -e -p -c '../chain.py ../../../src/cbmc/cbmc'
1111

1212
clean:
13+
$(RM) tests.log
1314
@for dir in *; do \
14-
$(RM) tests.log; \
1515
if [ -d "$$dir" ]; then \
1616
cd "$$dir"; \
1717
$(RM) *.out *.gb; \

regression/contracts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ tests.log: ../test.pl test
3232

3333

3434
clean:
35+
$(RM) tests.log
3536
@for dir in *; do \
36-
$(RM) tests.log; \
3737
if [ -d "$$dir" ]; then \
3838
cd "$$dir"; \
3939
$(RM) *.out *.gb *.smt2; \

regression/crangler/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ tests.log:
1717
endif
1818

1919
clean:
20+
$(RM) tests.log
2021
@for dir in *; do \
21-
$(RM) tests.log; \
2222
if [ -d "$$dir" ]; then \
2323
cd "$$dir"; \
2424
$(RM) *.out *.gb; \

regression/extract_type_header/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc ./../../../scripts/extract_type_header.py $(is_windows)'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-cc-cbmc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/cbmc/cbmc $(is_windows)'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-cc-file-local/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-instrument-chc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-instrument-json/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ tests.log:
1010
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/symtab2gb/symtab2gb ../../../src/goto-instrument/goto-instrument'
1111

1212
clean:
13+
$(RM) tests.log
1314
@for dir in *; do \
14-
$(RM) tests.log; \
1515
if [ -d "$$dir" ]; then \
1616
cd "$$dir"; \
1717
$(RM) *.out *.gb; \

regression/goto-instrument/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-interpreter/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tests.log:
1818
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument $(is_windows)'
1919

2020
clean:
21+
$(RM) tests.log
2122
@for dir in *; do \
22-
$(RM) tests.log; \
2323
if [ -d "$$dir" ]; then \
2424
cd "$$dir"; \
2525
$(RM) *.out *.gb; \

regression/goto-synthesizer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ tests.log: ../test.pl test
3232

3333

3434
clean:
35+
$(RM) tests.log
3536
@for dir in *; do \
36-
$(RM) tests.log; \
3737
if [ -d "$$dir" ]; then \
3838
cd "$$dir"; \
3939
$(RM) *.out *.gb *.smt2; \

regression/symtab2gb-cbmc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ tests.log:
1010
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/symtab2gb/symtab2gb ../../../src/cbmc/cbmc'
1111

1212
clean:
13+
$(RM) tests.log
1314
@for dir in *; do \
14-
$(RM) tests.log; \
1515
if [ -d "$$dir" ]; then \
1616
cd "$$dir"; \
1717
$(RM) *.out *.gb; \

regression/symtab2gb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ tests.log:
1010
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/symtab2gb/symtab2gb ../../../src/cbmc/cbmc'
1111

1212
clean:
13+
$(RM) tests.log
1314
@for dir in *; do \
14-
$(RM) tests.log; \
1515
if [ -d "$$dir" ]; then \
1616
cd "$$dir"; \
1717
$(RM) *.out *.gb; \

regression/test-script/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ tests.log:
1717
@../test.pl -e -p -c ../program_runner.sh -K
1818

1919
clean:
20+
$(RM) tests.log
2021
@for dir in *; do \
21-
$(RM) tests.log; \
2222
if [ -d "$$dir" ]; then \
2323
cd "$$dir"; \
2424
$(RM) *.out *.gb; \

0 commit comments

Comments
 (0)