James E Keenan wrote:

t/configure/029-option_or_data....................dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully


I see that the source of this error message is in Test::Harness. But I don't yet understand why it gets triggered.


[li11-226:confstep] 634 $ grep -n -A 10 -B 15 successfully /usr/local/lib/perl5/5.8.7/Test/Harness.pm
757-sub _dubious_return {
758-    my($test, $tot, $estatus, $wstatus) = @_;
759-
760-    my $failed = '??';
761-    my $canon  = '??';
762-
763-    printf "$test->{ml}dubious\n\tTest returned status $estatus ".
764-           "(wstat %d, 0x%x)\n",
765-           $wstatus,$wstatus;
766-    print "\t\t(VMS status is $estatus)\n" if $^O eq 'VMS';
767-
768-    $tot->{bad}++;
769-
770-    if ($test->{max}) {
771- if ($test->{'next'} == $test->{max} + 1 and not @{$test->{failed}}) {
772:            print "\tafter all the subtests completed successfully\n";
773-            $failed = 0;        # But we do not set $canon!
774-        }
775-        else {
776-            push @{$test->{failed}}, $test->{'next'}..$test->{max};
777-            $failed = @{$test->{failed}};
778- (my $txt, $canon) = _canondetail($test->{max},$test->{skipped},'Failed',@{$test->{failed}});
779-            print "DIED. ",$txt;
780-        }
781-    }
782-

jimk

Reply via email to