setup: use "trial" executable instead of the setuptools_trial plugin for "make quicktest"

This is to fix #591 ("make quicktest" could be quicker and less noisy).  This means that "make quicktest" won't work unless the user has manually installed Twisted already such that the "trial" executable is on their PATH and the Twisted package is on their PYTHONPATH.  This bypasses the behavior of setuptools_trial which builds and checks package dependencies before executing the tests.
This commit is contained in:
Zooko O'Whielacronx 2009-01-23 16:58:30 -07:00
parent 6ba154851f
commit 2cf9505d5f

View File

@ -121,7 +121,7 @@ test: build src/allmydata/_version.py
$(PYTHON) setup.py trial $(TRIALARGS) -s $(TEST)
quicktest: .built .checked-deps
$(PYTHON) setup.py trial $(TRIALARGS) -s $(TEST)
trial $(TRIALARGS) $(TEST)
fuse-test: .built .checked-deps
$(RUNPP) -d contrib/fuse -p -c runtests.py
@ -132,7 +132,7 @@ test-figleaf: build src/allmydata/_version.py
quicktest-figleaf: src/allmydata/_version.py
rm -f .figleaf
$(PYTHON) setup.py trial --reporter=bwverbose-figleaf -s $(TEST)
trial --reporter=bwverbose-figleaf $(TRIALARGS) $(TEST)
figleaf-output:
$(RUNPP) -p -c "misc/figleaf2html -d coverage-html -r src -x misc/figleaf.excludes"