From: Daira Hopwood Date: Fri, 20 Mar 2015 17:20:16 +0000 (+0000) Subject: Makefile: enable --rterrors for test, quicktest and test-coverage targets. X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=refs%2Fheads%2F2312.enable-deprecation-warnings-for-tests.0;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: enable --rterrors for test, quicktest and test-coverage targets. Signed-off-by: Daira Hopwood --- diff --git a/Makefile b/Makefile index b2914060..bba1b537 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,8 @@ build-osx-pkg: build # too. TEST=allmydata +TRIALARGS=--rterrors + # 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. .PHONY: test @@ -90,7 +92,7 @@ tmpfstest: .PHONY: _tmpfstest _tmpfstest: make-version sudo mount -t tmpfs -o size=400m tmpfs '$(TMPDIR)' - @PYTHONWARNINGS=default::DeprecationWarning -$(TAHOE) debug trial --rterrors '--temp-directory=$(TMPDIR)/_trial_temp' $(TRIALARGS) $(TEST) + @PYTHONWARNINGS=default::DeprecationWarning -$(TAHOE) debug trial '--temp-directory=$(TMPDIR)/_trial_temp' $(TRIALARGS) $(TEST) sudo umount '$(TMPDIR)' rmdir '$(TMPDIR)'