1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

DBD-SQLite: made the debugger test non-interactive

This commit is contained in:
Kenichi Ishigaki 2009-08-13 11:39:39 +00:00
parent 6de5c908f7
commit 3441f644ff

View file

@ -25,7 +25,12 @@ open my $fh, '>', $file;
print $fh <DATA>;
close $fh;
ok !system("$^X -Mblib -d $file");
if ($^O eq 'MSWin32') {
ok !system(qq{set PERLDB_OPTS="NonStop"; $^X -Mblib -d $file});
}
else {
ok !system(qq{PERLDB_OPTS="NonStop" $^X -Mblib -d $file});
}
END {
unlink $file if $file && -f $file;