summaryrefslogtreecommitdiff
path: root/lib/Automake/XFile.pm
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-10-17 18:14:33 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-10-18 11:17:48 +0200
commita6a7834f03248dc3b1da1d70b40fcaf37967b4ab (patch)
tree9df7a83abc6771b7398a72145b1994bb88dc30f6 /lib/Automake/XFile.pm
parentba8a10e5e24c4df4bacd072ad755f295596861e0 (diff)
downloadautomake-a6a7834f03248dc3b1da1d70b40fcaf37967b4ab.tar.gz
Perl coverage support using Devel::Cover.
This introduces makefile rules to run the testsuite with Perl coverage enabled. It skips tests that use perl ithreads, by unsetting AUTOMAKE_JOBS and setting WANT_NO_THREADS to make the threaded tests skip. * Makefile.am (PERL_COVERAGE_DB, PERL_COVERAGE_FLAGS) (PERL_COVER): New variables. (check-coverage, recheck-coverage, clean-coverage): New phony targets. (check-coverage-run, recheck-coverage-run): New phony helper targets. (clean-local): New, depend on clean-coverage. * lib/Automake/tests/Condition-t.pl: Skip if WANT_NO_THREADS is set. * lib/Automake/tests/DisjConditions-t.pl: Likewise. * tests/defs.in: New required entry 'perl-threads'. * tests/parallel-am.test: Use it to skip if WANT_NO_THREADS is set. * tests/parallel-am2.test: Likewise. * tests/parallel-am3.test: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/Automake/XFile.pm')
0 files changed, 0 insertions, 0 deletions