Skip to content

Commit

Permalink
convert PASM tests to PIR
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Apr 30, 2012
1 parent 8ca0a52 commit e9a69b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions t/dynoplibs/debug.t
Expand Up @@ -25,16 +25,16 @@ as well as backtrace tests.

$ENV{TEST_PROG_ARGS} ||= '';
my $nolineno = $ENV{TEST_PROG_ARGS} =~ /--runcore=fast/
? "\\(unknown file\\)\n-1" : "debug_\\d+\\.pasm\n\\d";
? "\\(unknown file\\)\n-1" : "debug_\\d+\\.pir\n\\d";

pasm_output_like( <<'CODE', <<"OUTPUT", "getline, getfile" );
pir_output_like( <<'CODE', <<"OUTPUT", "getline, getfile" );
.loadlib 'debug_ops'
.pcc_sub :main main:
getfile S0
getline I0
say S0
say I0
end
.sub test
getfile $S0
getline $I0
say $S0
say $I0
.end
CODE
/$nolineno/
OUTPUT
Expand Down

0 comments on commit e9a69b2

Please sign in to comment.