Fix the options.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 1 Aug 2003 10:45:57 +0000 (10:45 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 1 Aug 2003 10:45:57 +0000 (10:45 +0000)
p4raw-id: //depot/perl@20417

ext/B/t/bytecode.t

index 75fcf2e..d87b732 100644 (file)
@@ -22,7 +22,8 @@ for (@tests) {
     my ($script, $expect) = split />>>+\n/;
     $expect =~ s/\n$//;
     open T, ">$test"; print T $script; close T;
-    $got = run_perl(switches => "-MO=Bytecode,-H,-o$test",
+    $got = run_perl(switches => [ "-MO=Bytecode,-H,-o$test" ],
+                   stderr   => 1,
                    progfile => $test);
     unless ($?) {
        $got = run_perl(progfile => $test);