Skip to content

Commit

Permalink
[test] adjust bad -O1/-O2 test regex
Browse files Browse the repository at this point in the history
with the new fullharness settings there is no space before -O1 anymore.
Fixes GH #1086
  • Loading branch information
Reini Urban committed Oct 4, 2014
1 parent a0f0195 commit 1c1d7ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -5,6 +5,7 @@
- Build
- Documentation
- Tests
+ Run tests with the runcore=fast,-O1,-O2 fast, no -D040, no --gc-debug
- Community

2014-09-16 release 6.8.0
Expand Down
2 changes: 1 addition & 1 deletion t/compilers/imcc/syn/regressions.t
Expand Up @@ -17,7 +17,7 @@ CODE
OUT

SKIP: {
skip "invalid -O2 test GH #1049", 1 if $ENV{TEST_PROG_ARGS} =~ / -O2/;
skip "invalid -O2 test GH #1049", 1 if $ENV{TEST_PROG_ARGS} =~ /-O2/;
pir_output_is( <<'CODE', <<'OUT', 'cannot constant fold div by 0');
.sub fold_by_zero :main
push_eh ok1
Expand Down
2 changes: 1 addition & 1 deletion t/op/calling.t
Expand Up @@ -1671,7 +1671,7 @@ OUTPUT

TODO: {
local $TODO = 'bad -O1 test 63' if $ENV{TEST_PROG_ARGS}
and $ENV{TEST_PROG_ARGS} =~ / -O[12]/;
and $ENV{TEST_PROG_ARGS} =~ /-O[12]/;
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
Expand Down

0 comments on commit 1c1d7ca

Please sign in to comment.