X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-bad-no.t;h=5d82d9551cd4143a3fad988a3d2025548d20a27a;hb=93e46f6f746b5a546672c36dc0608aa035abee37;hp=a5dfd2a20d8fe1493dacadc3b93eb923f0a668fe;hpb=1d3c3341b0d1f0192c3189d47a5b8bc78176e9db;p=perl%2Fmodules%2Findirect.git diff --git a/t/20-bad-no.t b/t/20-bad-no.t index a5dfd2a..5d82d95 100644 --- a/t/20-bad-no.t +++ b/t/20-bad-no.t @@ -13,6 +13,7 @@ use IPC::Cmd qw/run/; = run command => [ $^X, map('-I' . $_, @INC), + $ENV{PERL5OPT} || '', '-M-indirect', '-c', 't/data/bad.d' @@ -26,6 +27,7 @@ unless ($success) { diag $stderr; diag "Failed to execute data file (error $err_code)"; fail "Couldn't run test $_" for 1 .. $total + 1; + exit $total + 1; } my %fail = map { $_ => 1 } 1 .. $total;