threads / patch / 8441

patchmake clean should remove all the test programs too

Subject: [PATCH] make clean should remove all the test programs too

## tl;dr

One message between Jun 5, 2007 and Jun 5, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Matthias Lederhofer· Jun 5, 2007, 13:43 UTC · lore
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
---
There seems to be another test program lying around which is not
included in the Makefile: dump-tree-cache.c.  I've no idea what this
does or what it is used for, it was just dropped from the Makefile
during some cleanup.  If it should stay I'd recommend to do:
    - git mv dump-cache-tree.c test-dump-cache-trees.c
    - add dump-cache-trees to TEST_PROGRAMS
    - s/dump-cache-tree/dump-cache-trees/ in .gitignore
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Show changes to Makefile +2 −1
diff --git a/Makefile b/Makefile
index 69f3b66..cd620b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1052,8 +1052,9 @@ dist-doc:
 
 clean:
 	rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
-		test-chmtime$X test-genrandom$X $(LIB_FILE) $(XDIFF_LIB)
+		$(LIB_FILE) $(XDIFF_LIB)
 	rm -f $(ALL_PROGRAMS) $(BUILT_INS) git$X
+	rm -f $(TEST_PROGRAMS)
 	rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
 	rm -rf autom4te.cache
 	rm -f configure config.log config.mak.autogen config.mak.append config.status config.cache
-- 
1.5.2.1.122.g91581

← back to recent threads