X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F10-good-no.t;h=ac16d4630a6b844c0c4f048862117bb07aa2d606;hp=37514ddc854ad774433fedb8d3049c52de6c317e;hb=c579771bace4977e6f2c26a5e5e29740a1aa4553;hpb=3244106ca331b0d58c903b449f3c26af8f2d2d1e diff --git a/t/10-good-no.t b/t/10-good-no.t index 37514dd..ac16d46 100644 --- a/t/10-good-no.t +++ b/t/10-good-no.t @@ -20,11 +20,12 @@ use IPC::Cmd qw/run/; '-c', 't/data/good.d' ]; +$stderr = join '', @$stderr; unless ($success) { - $stderr = pop @$stderr if ref $stderr eq 'ARRAY'; - BAIL_OUT("Failed to execute data file (error $err_code) : $stderr"); + diag $stderr; + diag "Failed to execute data file (error $err_code)"; + fail "Couldn't run test $_" for 1 .. $total + 1; } -$stderr = join "\n", @$stderr if ref $stderr eq 'ARRAY'; my %fail; my $extra_fail = 0;