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

1 messages from 2007-06-05 to 2007-06-05. Participants: Matthias Lederhofer.
Thread: https://gitlist.dev/t/8441

## Matthias Lederhofer, 2007-06-05 13:43

Subject: [PATCH] make clean should remove all the test programs too
Message-ID: <20070605134317.GA7950@moooo.ath.cx>
URL: https://gitlist.dev/e/20070605134317.GA7950%40moooo.ath.cx

```
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(-)

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

```
