X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F07-debugger.t;h=decd452e7da8e0a72924ee8a866512ee5d4808c7;hb=80e4e2679ecae28c5a3aeacdd10e5a87d9b0f4b4;hp=40c046674aee0672ebad46f8e9e6d521e77d5601;hpb=909ce0526ab480e6fc167c458cad4c4a7540b70e;p=p5sagit%2Fnamespace-clean.git diff --git a/t/07-debugger.t b/t/07-debugger.t index 40c0466..decd452 100644 --- a/t/07-debugger.t +++ b/t/07-debugger.t @@ -1,25 +1,15 @@ -#!/usr/bin/perl -d - use Test::More; BEGIN { - # apparently we can't just skip_all with -d, because the debugger breaks at - # Test::Testers END block - if ($] <= 5.008008) { - pass; - done_testing; - } - else { - push @DB::typeahead, "c"; - } + $ENV{PERLDB_OPTS} = 'NonStop'; +} + +BEGIN { - push @DB::typeahead, "q"; +#line 1 +#!/usr/bin/perl -d +#line 10 - # try to shut it up at least a little bit - open my $out, ">", \my $out_buf; - $DB::OUT = $out; - open my $in, "<", \my $in_buf; - $DB::IN = $in; } {