]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: allow 'make test TEST=something.else'
authorBrian Warner <warner@lothar.com>
Thu, 14 Dec 2006 11:13:29 +0000 (04:13 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 14 Dec 2006 11:13:29 +0000 (04:13 -0700)
Makefile

index 3709432c206e972f6223be4691b473db4d3ed3dd..ab73f3ea2845bd64803619a3366ddc16f46e1ea8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,11 +24,12 @@ else
 PP=PYTHONPATH=$(shell python ./builddir.py)
 endif
 
+TEST=allmydata
 test: build
-       $(PP) trial allmydata
+       $(PP) trial $(TEST)
 
 test-figleaf:
-       $(PP) trial --reporter=bwverbose-figleaf allmydata
+       $(PP) trial --reporter=bwverbose-figleaf $(TEST)
        figleaf2html -d coverage-html -x allmydata/test/figleaf.excludes
 # after doing test-figleaf, point your browser at coverage-html/index.html