From 7574177c3be92d81d4f58100b7f3770a35a51293 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Thu, 14 Dec 2006 04:13:29 -0700
Subject: [PATCH] Makefile: allow 'make test TEST=something.else'

---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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
 
-- 
2.45.2