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.
This commit is contained in:
Zooko O'Whielacronx 2007-04-30 23:02:45 -07:00
parent cb57508b0a
commit dfe399bb5f

View 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)