From: Zooko O'Whielacronx Date: Tue, 1 May 2007 06:02:45 +0000 (-0700) Subject: make separate makefile targets for test-foolscap and test-TEST X-Git-Tag: allmydata-tahoe-0.2.0~35 X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/...?a=commitdiff_plain;h=dfe399bb5f02b58185b6607c089d372dc7e48689;p=tahoe-lafs%2Ftahoe-lafs.git 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. --- diff --git a/GNUmakefile b/GNUmakefile index 609f781a..41f684a7 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)