[test] Properly disable test that doesn't work in GC stress.

The magic "print(i)" work-around was no longer work-arounding correctly,
so we do the right thing instead now.

TBR=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/1306843004 .

Cr-Commit-Position: refs/heads/master@{#30436}
This commit is contained in:
Benedikt Meurer 2015-08-28 12:20:29 +02:00
parent c403ede42a
commit 03541141b9
2 changed files with 3 additions and 3 deletions

View File

@ -304,6 +304,9 @@
'unicodelctest': [PASS, NO_VARIANTS],
'unicodelctest-no-optimization': [PASS, NO_VARIANTS],
# TODO(jkummerow): Doesn't work correctly in GC stress.
'regress/regress-crbug-500497': [PASS, NO_VARIANTS],
# Too slow for gc stress.
'asm/embenchen/box2d': [SKIP],

View File

@ -13,9 +13,6 @@ function Ctor() {
}
for (var i = 0; i < 120; i++) {
// This print() is important! Without it, in --gc-stress mode, the function
// Ctor is optimized too early. No idea why.
print(i);
// Make the "a" property long-lived, while everything else is short-lived.
global.push(Ctor().a);
(function FillNewSpace() { new Array(10000); })();