X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F30-scope.t;h=2eceddb401b03cb92981e3763ee0c5d3401515b5;hb=93e46f6f746b5a546672c36dc0608aa035abee37;hp=0174870ddbdf712bedf5669bf0af6ba36c4ed562;hpb=1d3c3341b0d1f0192c3189d47a5b8bc78176e9db;p=perl%2Fmodules%2Findirect.git diff --git a/t/30-scope.t b/t/30-scope.t index 0174870..2eceddb 100644 --- a/t/30-scope.t +++ b/t/30-scope.t @@ -13,6 +13,7 @@ use IPC::Cmd qw/run/; = run command => [ $^X, map('-I' . $_, @INC), + $ENV{PERL5OPT} || '', '-c', 't/data/mixed.d' ]; @@ -25,6 +26,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 } 2, 3, 5, 7;