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.
This commit is contained in:
Zooko O'Whielacronx 2008-04-24 09:57:04 -07:00
parent 1e2698713b
commit c559769e78

View File

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