Re-enable tests if all prereqs succeeded, regardless of optional modules

This commit is contained in:
Alessandro Ranellucci 2013-06-24 16:41:12 +02:00
parent f32551bd35
commit 344072d03c

View File

@ -84,7 +84,7 @@ EOF
foreach my $module (sort keys %modules) { foreach my $module (sort keys %modules) {
my $version = $modules{$module}; my $version = $modules{$module};
my $res = system $cpanm, "$module~$version"; my $res = system $cpanm, "$module~$version";
$skip_tests = 1 if $res != 0; $skip_tests = 1 if $res != 0 && exists $prereqs{$module};
} }
} }