From 344072d03c24e6f85f37b445b7a9868e6005a143 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 24 Jun 2013 16:41:12 +0200 Subject: [PATCH] Re-enable tests if all prereqs succeeded, regardless of optional modules --- Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index f51b56794..21373cdc4 100644 --- a/Build.PL +++ b/Build.PL @@ -84,7 +84,7 @@ EOF foreach my $module (sort keys %modules) { my $version = $modules{$module}; my $res = system $cpanm, "$module~$version"; - $skip_tests = 1 if $res != 0; + $skip_tests = 1 if $res != 0 && exists $prereqs{$module}; } }