Makefile: allow 'make test TEST=something.else'

This commit is contained in:
Brian Warner 2006-12-14 04:13:29 -07:00
parent 74c6608f72
commit 7574177c3b

View File

@ -24,11 +24,12 @@ else
PP=PYTHONPATH=$(shell python ./builddir.py)
endif
TEST=allmydata
test: build
$(PP) trial allmydata
$(PP) trial $(TEST)
test-figleaf:
$(PP) trial --reporter=bwverbose-figleaf allmydata
$(PP) trial --reporter=bwverbose-figleaf $(TEST)
figleaf2html -d coverage-html -x allmydata/test/figleaf.excludes
# after doing test-figleaf, point your browser at coverage-html/index.html