From: Brian Warner <warner@allmydata.com>
Date: Thu, 24 May 2007 00:57:48 +0000 (-0700)
Subject: makefile: add a test-clean target
X-Git-Tag: allmydata-tahoe-0.3.0~55
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/index.php?a=commitdiff_plain;h=13e2af80339eceeb49a7bcbd67c9cc7dc9b1c876;p=tahoe-lafs%2Ftahoe-lafs.git

makefile: add a test-clean target
---

diff --git a/GNUmakefile b/GNUmakefile
index 8c442684..6b4201a1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -177,9 +177,15 @@ check-memory:
 	$(PP) $(PYTHON) src/allmydata/test/check_memory.py
 
 test-darcs-boringfile:
-	make
+	$(MAKE)
 	$(PYTHON) misc/test-darcs-boringfile.py
 
+test-clean:
+	find . |sort >allfiles.tmp.old
+	$(MAKE)
+	$(MAKE) clean
+	find . |grep -v allfiles.tmp |sort >allfiles.tmp.new
+	diff allfiles.tmp.old allfiles.tmp.new
 
 clean: clean-zfec clean-Crypto clean-foolscap
 	rm -rf build