]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
make separate makefile targets for test-foolscap and test-TEST
authorZooko O'Whielacronx <zooko@allmydata.com>
Tue, 1 May 2007 06:02:45 +0000 (23:02 -0700)
committerZooko O'Whielacronx <zooko@allmydata.com>
Tue, 1 May 2007 06:02:45 +0000 (23:02 -0700)
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

index 609f781a843ab6b8e05008c9127103373eb9119d..41f684a7bca5677481cddd7a185f3521028ee6b3 100644 (file)
@@ -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)