Author: dagolden
Date: Sun Jan 25 05:11:51 2009
New Revision: 12458

Modified:
   Module-Build/trunk/   (props changed)
   Module-Build/trunk/t/use_tap_harness.t

Log:
require a release version of TAP::Harness to test use_tap_harness


Modified: Module-Build/trunk/t/use_tap_harness.t
==============================================================================
--- Module-Build/trunk/t/use_tap_harness.t      (original)
+++ Module-Build/trunk/t/use_tap_harness.t      Sun Jan 25 05:11:51 2009
@@ -3,10 +3,10 @@
 use strict;
 use Test::More;
 use lib $ENV{PERL_CORE} ? '../lib/Module/Build/t/lib' : 't/lib';
-if (eval { require TAP::Parser }) {
+if (eval { require TAP::Harness } && TAP::Harness->VERSION >= 3) {
     plan tests => 8;
 } else {
-    plan skip_all => 'TAP::Parser not installed'
+    plan skip_all => 'TAP::Harness 3+ not installed'
 }
 
 use MBTest;

Reply via email to