threads / patch / 24488

patchtests: Ignore the Test::Harness .prove file

Subject: [PATCH] tests: Ignore the Test::Harness .prove file

## tl;dr

One message between Jul 23, 2010 and Jul 23, 2010. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ævar Arnfjörð Bjarmason· Jul 23, 2010, 22:58 UTC · lore

We document how to run prove with the --state option in t/README. This produces a .prove YAML file in the current directory. Change the t/ gitignore to ignore it, and clean it up on `make clean'.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 t/.gitignore |    1 +
 t/Makefile   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
Show changes to 2 files +2 −0

t/.gitignore, t/Makefile

diff --git a/t/.gitignore b/t/.gitignore
index 7dcbb23..4e731dc 100644
--- a/t/.gitignore
+++ b/t/.gitignore
@@ -1,2 +1,3 @@
 /trash directory*
 /test-results
+/.prove
diff --git a/t/Makefile b/t/Makefile
index cf5f9e2..819b936 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -30,6 +30,7 @@ clean:
 	$(RM) -r 'trash directory'.* test-results
 	$(RM) t????/cvsroot/CVSROOT/?*
 	$(RM) -r valgrind/bin
+	$(RM) .prove
 
 aggregate-results-and-cleanup: $(T)
 	$(MAKE) aggregate-results
-- 
1.7.0.4

← back to recent threads