Permalink
Browse files

Add t target to run tests optimally.

And remove obsolete testdist target.
  • Loading branch information...
1 parent 92ccccc commit eb87fac1d46b26446d9c9bc83b056aa40a7f7722 @pjcj committed Aug 4, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 Makefile.PL
View
@@ -420,11 +420,8 @@ wrun : pure_all
prove : pure_all
\t \$(PERL) -Iutils -MDevel::Cover::BuildUtils=prove_command -le '\$\$c = prove_command and print \$\$c and system \$\$c'
-tst : pure_all
-\t \$(PERL) -Iutils -MDevel::Cover::BuildUtils=prove_command -le '\$\$c = prove_command and print \$\$c and system \$\$c and system "make test"'
-
-testdist : pure_all
-\t chdir tests/dist/\$(TEST); \$(PERL) Makefile.PL && make && DEVEL_COVER_TEST_OPTS=-Mblib=../../.. \$(PERL) -Mblib=../../.. ../../../bin/cover -test \$(COVER_OPTIONS)
+t : pure_all
+\t exec make test HARNESS_OPTIONS=j`\$(PERL) -Iutils -MDevel::Cover::BuildUtils=cpus -e 'print cpus'`:c HARNESS_TIMER=1
DB = cover_db

0 comments on commit eb87fac

Please sign in to comment.