We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf5584e commit 8ba48d0Copy full SHA for 8ba48d0
t/TEST
@@ -402,8 +402,12 @@ sub _tests_from_manifest {
402
}
403
404
my @results;
405
- my $mani = '../MANIFEST';
406
- if (open(MANI, $mani)) {
+ foreach my $manifest_file ('../MANIFEST','../Porting/MANIFEST.dev') {
+ if (!open(MANI,$manifest_file)) {
407
+ warn "$0: cannot open '$manifest_file': $!\n"
408
+ if $manifest_file!~/Porting/ or -e $manifest_file;
409
+ next;
410
+ }
411
while (<MANI>) {
412
if (m!^((?:cpan|dist|ext)/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) {
413
my $t = $1;
@@ -458,9 +462,8 @@ sub _tests_from_manifest {
458
462
459
463
460
464
close MANI;
461
- } else {
- warn "$0: cannot open $mani: $!\n";
465
466
+
467
return @results;
468
469
0 commit comments