Makefile: add 'make check' as an alias for 'make test'. Also remove an unnecessary dependency of 'test' on 'build' and 'src/allmydata/_version.py'. fixes #1344

This commit is contained in:
david-sarah 2011-06-23 13:55:28 -07:00
parent fb4dd43310
commit 082731f45b

View File

@ -70,7 +70,7 @@ endif
# TESTING
.PHONY: signal-error-deps test test-coverage quicktest quicktest-coverage
.PHONY: signal-error-deps test check test-coverage quicktest quicktest-coverage
.PHONY: coverage-output get-old-coverage-coverage coverage-delta-output
@ -97,8 +97,13 @@ TEST=allmydata
# use 'make test TRIALARGS=--reporter=bwverbose' from buildbot, to
# suppress the ansi color sequences
test: build src/allmydata/_version.py
# It is unnecessary to have this depend on build or src/allmydata/_version.py,
# since 'setup.py test' always updates the version and builds before testing.
test:
$(PYTHON) setup.py test $(TRIALARGS) -s $(TEST)
touch .built
check: test
fuse-test: .built .checked-deps
$(RUNPP) -d contrib/fuse -p -c runtests.py