From dfe399bb5f02b58185b6607c089d372dc7e48689 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 30 Apr 2007 23:02:45 -0700 Subject: [PATCH] make separate makefile targets for test-foolscap and test-TEST So that if you want to run just one test, you can run "make test-TEST TEST=that.one.test" and not get the whole foolscap suite thrown in for the bargain. --- GNUmakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 609f781a8..41f684a7b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -116,10 +116,14 @@ REPORTER= # use 'make test REPORTER=--reporter=bwverbose' from buildbot, to supress the # ansi color sequences -test: build - $(PP) $(TRIAL) $(REPORTER) $(TEST) ; +test: build test-foolscap test-TEST + +test-foolscap: cd src/foolscap && $(TRIAL) $(REPORTER) foolscap +test-TEST: + $(PP) $(TRIAL) $(REPORTER) $(TEST) + test-figleaf: build rm -f .figleaf $(PP) $(TRIAL) --reporter=bwverbose-figleaf $(TEST)