From: Brian Warner <warner@lothar.com>
Date: Thu, 14 Dec 2006 11:13:29 +0000 (-0700)
Subject: Makefile: allow 'make test TEST=something.else'
X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~427
X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/simplejson/running.html?a=commitdiff_plain;h=7574177c3be92d81d4f58100b7f3770a35a51293;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: allow 'make test TEST=something.else'
---

diff --git a/Makefile b/Makefile
index 3709432c..ab73f3ea 100644
--- 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