From: Brian Warner <warner@allmydata.com>
Date: Mon, 16 Apr 2007 19:32:45 +0000 (-0700)
Subject: don't include test code itself in the test-coverage numbers
X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~100
X-Git-Url: https://git.rkrishnan.org/Site/@manifest?a=commitdiff_plain;h=1a6da7286188b4929a1d17a58eb47c7da0fdd798;p=tahoe-lafs%2Ftahoe-lafs.git

don't include test code itself in the test-coverage numbers
---

diff --git a/GNUmakefile b/GNUmakefile
index eb9a7634..62fa43a1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -92,7 +92,7 @@ test-figleaf: build
 	$(PP) $(TRIAL) --reporter=bwverbose-figleaf $(TEST)
 
 figleaf-output:
-	$(PP) $(PYTHON) misc/figleaf2html -d coverage-html -r $(INSTDIR)
+	$(PP) $(PYTHON) misc/figleaf2html -d coverage-html -r $(INSTDIR) -x misc/figleaf.excludes
 	@echo "now point your browser at coverage-html/index.html"
 # after doing test-figleaf and figleaf-output, point your browser at
 # coverage-html/index.html
diff --git a/misc/figleaf.excludes b/misc/figleaf.excludes
new file mode 100644
index 00000000..19337860
--- /dev/null
+++ b/misc/figleaf.excludes
@@ -0,0 +1 @@
+/test/