From 1a6da7286188b4929a1d17a58eb47c7da0fdd798 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Mon, 16 Apr 2007 12:32:45 -0700
Subject: [PATCH] don't include test code itself in the test-coverage numbers

---
 GNUmakefile           | 2 +-
 misc/figleaf.excludes | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 misc/figleaf.excludes

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/
-- 
2.45.2