From: Zooko O'Whielacronx Date: Thu, 24 Apr 2008 16:57:04 +0000 (-0700) Subject: setup: test depends on build, which means it invokes setup.py every time, which is... X-Git-Url: https://git.rkrishnan.org/pf/content/%22news.html/running.html?a=commitdiff_plain;h=c559769e7858ae8da177e5d993ca58c62e432713;p=tahoe-lafs%2Ftahoe-lafs.git setup: test depends on build, which means it invokes setup.py every time, which is slower but does "the right thing" more often There is a new target "quicktest" which depends on the .built and .checked-deps files. test-figleaf also depends on the build target now. --- diff --git a/Makefile b/Makefile index 7214f389..dc3d79f4 100644 --- a/Makefile +++ b/Makefile @@ -176,10 +176,13 @@ TEST=allmydata # use 'make test TRIALARGS=--reporter=bwverbose' from buildbot, to # suppress the ansi color sequences -test: .built .checked-deps src/allmydata/_version.py +test: build src/allmydata/_version.py $(PP) $(TRIAL) $(TRIALARGS) $(TEST) -test-figleaf: .built .checked-deps +quicktest: .built .checked-deps + $(PP) $(TRIAL) $(TRIALARGS) $(TEST) + +test-figleaf: build src/allmydata/_version.py rm -f .figleaf $(PP) $(TRIAL) --reporter=bwverbose-figleaf $(TEST)