summaryrefslogtreecommitdiff
path: root/t/harness
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-27 14:26:20 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-27 14:26:20 +0100
commit744c27e5aa4aa3ee30df5711b0799332655b563e (patch)
treea2491d6820eebacb5a249b3cb3342bc19d86c1e9 /t/harness
parentc537bcda150384467d5ff232f1f1b27075e03c5b (diff)
downloadperl-744c27e5aa4aa3ee30df5711b0799332655b563e.tar.gz
t/harness and t/TEST can both use the same _run_test() to invoke tests.
Now the logic to invoke tests is in exactly one place, we can refactor it with impunity.
Diffstat (limited to 't/harness')
-rw-r--r--t/harness1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/harness b/t/harness
index 11c174148d..660e5849bb 100644
--- a/t/harness
+++ b/t/harness
@@ -208,6 +208,7 @@ my $h = TAP::Harness->new({
color => $color,
jobs => $jobs,
verbosity => $Verbose,
+ exec => \&_run_test,
});
if ($state) {