]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - Makefile.PL
new forum post about search in attachments
[git.ikiwiki.info.git] / Makefile.PL
index e1a953f8fea405900f349b1fc19456066cbbd68e..b19636c60c90ad5fbc0db4bbb0b7c0ba0904fa5d 100755 (executable)
@@ -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
 }
 }