Skip to content

Commit

Permalink
[imcc] TODO t/op/calling.t test 63 with -O1
Browse files Browse the repository at this point in the history
bad test
  • Loading branch information
Reini Urban committed Feb 26, 2014
1 parent 2665bd1 commit 3daad5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions t/op/calling.t
@@ -1,5 +1,5 @@
#!perl
# Copyright (C) 2001-2011, Parrot Foundation.
# Copyright (C) 2001-2014, Parrot Foundation.

use strict;
use warnings;
Expand Down Expand Up @@ -1669,8 +1669,9 @@ ok 1
ok 2
OUTPUT

# TODO -O1
pir_output_is( <<'CODE', <<'OUTPUT', "newclosure followed by tailcall" );
if ($ENV{TEST_PROG_ARGS} =~ / -O[12]/) {
local $TODO = 'bad -O1 test 63';
pir_output_is( <<'CODE', <<'OUTPUT', "newclosure followed by tailcall" );
## regression test for newclosure followed by tailcall, which used to recycle
## the context too soon. it looks awful because (a) the original version was
## produced by a compiler, and (b) in order to detect regression, we must force
Expand Down Expand Up @@ -1736,6 +1737,7 @@ not 2
[in test]
got 9.
OUTPUT
}

pir_output_is( <<'CODE', <<'OUTPUT', "call evaled vtable code" );
.sub main :main
Expand Down

0 comments on commit 3daad5b

Please sign in to comment.