Skip to content

Commit 3106341

Browse files
committed
test cleaning has to be defined in the same file has testing
1 parent 8d3ad08 commit 3106341

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Make_coq.local

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,13 @@ TESTS_LOG=$(TESTS:%=%.log)
6464
TESTS_ORACLE=$(TESTS:%=%.oracle)
6565
TESTS_OK=$(TESTS:%=%.ok)
6666

67-
DISTRIBUTED+=$(TESTS_SRC) $(TESTS_ORACLE)
67+
clean_test :
68+
rm -f $(TESTS) $(TESTS_LOG) $(TESTS_OK)
69+
rm -f $(TESTDIR)/Test.vo $(TESTDIR)/Test.glob
70+
rm -f $(TESTDIR)/Morph.vo $(TESTDIR)/Morph.glob
71+
rm -f $(TESTDIR)/Polymorph.vo $(TESTDIR)/Polymorph.glob
72+
rm -f $(TESTDIR)/PrimitiveProjections.vo $(TESTDIR)/PrimitiveProjections.glob
73+
rm -f $(TESTDIR)/.*.vo.aux
6874

6975
.PRECIOUS : $(TESTS) $(TESTS_LOG) $(TESTS_ORACLE)
7076

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,13 @@ distrib : $(NAME)-$(VERSION).tgz
4242

4343

4444
#-------------------------------------------------------------------------------
45-
# Configuration
45+
# testing
46+
4647

4748
#-------------------------------------------------------------------------------
4849
clean_coq : Make_coq
4950
$(MAKE) -f $< clean
5051

51-
clean_test :
52-
rm -f $(TESTS) $(TESTS_LOG) $(TESTS_OK)
53-
rm -f $(TESTDIR)/Test.vo $(TESTDIR)/Test.glob
54-
rm -f $(TESTDIR)/Morph.vo $(TESTDIR)/Morph.glob
55-
rm -f $(TESTDIR)/Polymorph.vo $(TESTDIR)/Polymorph.glob
56-
rm -f $(TESTDIR)/PrimitiveProjections.vo $(TESTDIR)/PrimitiveProjections.glob
57-
rm -f $(TESTDIR)/.*.vo.aux
58-
5952
clean_config:
6053
rm -rf autom4te.cache
6154
rm -f configure config.log config.status

0 commit comments

Comments
 (0)