Skip to contentSkip to conversation

make clean should remove all the test programs too

PATCH New Matthias Lederhofer 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make clean should remove all the test programs too

---
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(-)
Makefile +2 -1
index 69f3b66..cd620b0 100644
@@ -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
Signature · 1 line
1.5.2.1.122.g91581