]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
makefile: add a test-clean target
authorBrian Warner <warner@allmydata.com>
Thu, 24 May 2007 00:57:48 +0000 (17:57 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 24 May 2007 00:57:48 +0000 (17:57 -0700)
GNUmakefile

index 8c442684183594a89256105289f97e0e99e49c60..6b4201a11a503d1b559fbbdfc25afd174ef1f4a3 100644 (file)
@@ -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