[svn:parrot] r41884 - trunk/t/compilers/imcc/syn
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Oct 15 19:34:32 UTC 2009
Author: bacek
Date: Thu Oct 15 19:34:31 2009
New Revision: 41884
URL: https://trac.parrot.org/parrot/changeset/41884
Log:
[t][cage] Fix tests for macro line numbering. Not all cores track
interp->pc. Closing TT#1102
Modified:
trunk/t/compilers/imcc/syn/macro.t
trunk/t/compilers/imcc/syn/regressions.t
Modified: trunk/t/compilers/imcc/syn/macro.t
==============================================================================
--- trunk/t/compilers/imcc/syn/macro.t Thu Oct 15 14:37:36 2009 (r41883)
+++ trunk/t/compilers/imcc/syn/macro.t Thu Oct 15 19:34:31 2009 (r41884)
@@ -35,7 +35,7 @@
end
.end
CODE
-/(?s:Null PMC access .*current instr.*:4\))/
+/(?s:Null PMC access .*current instr.*:(4|-1)\))/
OUTPUT
pir_error_output_like( <<'CODE', <<'OUTPUT', 'macro, zero parameters, line number' );
@@ -47,7 +47,7 @@
end
.end
CODE
-/(?s:Null PMC access .*current instr.*:5\))/
+/(?s:Null PMC access .*current instr.*:(5|-1)\))/
OUTPUT
pir_error_output_like( <<'CODE', <<'OUTPUT', 'macro, zero parameters, line number' );
@@ -60,7 +60,7 @@
end
.end
CODE
-/(?s:Null PMC access .*current instr.*:6\))/
+/(?s:Null PMC access .*current instr.*:(6|-1)\))/
OUTPUT
pir_output_is( <<'CODE', <<'OUTPUT', 'macro, one unused parameter, literal term' );
Modified: trunk/t/compilers/imcc/syn/regressions.t
==============================================================================
--- trunk/t/compilers/imcc/syn/regressions.t Thu Oct 15 14:37:36 2009 (r41883)
+++ trunk/t/compilers/imcc/syn/regressions.t Thu Oct 15 19:34:31 2009 (r41884)
@@ -102,7 +102,7 @@
no:
.end
CODE
-/(?s:Null PMC access in get_bool.*current instr.*:4\))/
+/(?s:Null PMC access in get_bool.*current instr.*:(4|-1)\))/
OUT
pir_error_output_like( <<'CODE', <<'OUT', 'bare method names not allowed (RT #45859)');
More information about the parrot-commits
mailing list