aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xMakefile.PL7
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 6b7efe5c1..fe1c3d441 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@ ikiwiki.setup
Makefile
Makefile.old
blib/*
+/cover_db
doc/.ikiwiki/*
html/*
ikiwiki.out
@@ -9,6 +10,7 @@ ikiwiki-transition.out
ikiwiki-calendar.out
pm_to_blib
*.man
+/po/cover_db
po/po2wiki_stamp
po/underlays/*/*.mdwn
po/underlays/basewiki/*/*.mdwn
diff --git a/Makefile.PL b/Makefile.PL
index e1a953f8f..b19636c60 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -154,6 +154,13 @@ extra_install: underlay_install
-install -m 0644 wikilist $(DESTDIR)/etc/ikiwiki
-install -m 0644 auto.setup $(DESTDIR)/etc/ikiwiki
-install -m 0644 auto-blog.setup $(DESTDIR)/etc/ikiwiki
+
+# The git/hg plugins want to chdir; so does Devel::Cover. Skip those tests
+# to stop them hurting each other.
+coverage:
+ cover -delete
+ $(MAKE) test PERL5OPT=-MDevel::Cover PERL5LIB=. TEST_FILES="$(filter-out t/git.t t/mercurial.t,$(wildcard t/*.t))"
+ cover
}
}