Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a self_cover make target.

  • Loading branch information...
commit 024338c49ba3a46377b304c9222807e7b43aa481 1 parent c0c830b
@pjcj authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 Makefile.PL
View
7 Makefile.PL
@@ -505,6 +505,13 @@ all_gold :
\t rm -rf test_output
\t exec \$(PERL) all_versions make gold
+self_cover : pure_all
+\t rm -rf cover_db
+\t -DEVEL_COVER_SELF=1 \$(PERL) -Mblib -MDevel::Cover cover -delete t/e2e/cover_db_*
+\t -DEVEL_COVER_SELF=1 make test
+\t DEVEL_COVER_SELF=1 \$(PERL) -Mblib -MDevel::Cover cover t/e2e/cover_db_*
+\t DEVEL_COVER_SELF=1 \$(PERL) -Mblib -MDevel::Cover cover -report html_basic
+
mani : manifest
\t \$(PERL) -i.bak -ne '\$\$d = "test_output/cover"; print unless /^\$\$d/; END { open M, ">>MANIFEST"; opendir D, \$\$d; print M "\$\$d/\$\$_\\n" for sort grep -f "\$\$d/\$\$_", readdir D }' MANIFEST
Please sign in to comment.
Something went wrong with that request. Please try again.