]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: enable --rterrors for test, quicktest and test-coverage targets. 2312.enable-deprecation-warnings-for-tests.0
authorDaira Hopwood <daira@jacaranda.org>
Fri, 20 Mar 2015 17:20:16 +0000 (17:20 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 20 Mar 2015 17:31:54 +0000 (17:31 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Makefile

index b2914060a4bd9c51d5cdca168f27330b7186289a..bba1b537b89afb024b565abecffa264d93b8b5c5 100644 (file)
--- 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)'