[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Change coverage Makefile directive; use rcfile and TRIAL variable.



commit 3bea4c16d649049ae5ae5ff928d344d252a693b1
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Wed Mar 12 00:44:00 2014 +0000

    Change coverage Makefile directive; use rcfile and TRIAL variable.
---
 Makefile |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 036997e..abf392e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
 .PHONY: install test
 .DEFAULT: install test
 
+TRIAL:=$(shell which trial)
+
 all:
 	python setup.py build
 
@@ -41,4 +43,6 @@ clean:
 	-rm -rf _trial_temp
 
 coverage:
-	-coverage run $(which trial) ./lib/bridgedb/test/test_* && coverage report && coverage html
+	-coverage run --rcfile=".coveragerc" $(TRIAL) ./lib/bridgedb/test/test_*.py
+	-coverage report
+	-coverage html



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits