Skip to content

Commit

Permalink
Add a self_cover make target.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Aug 31, 2010
1 parent c0c830b commit 024338c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 024338c

Please sign in to comment.