aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-21 15:26:19 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-21 15:26:19 -0700
commit46398a40e7fde539f6645d12772ff7493b0ba2b1 (patch)
tree0842a6e790eefc3d5d955d3735b2d0a94cecd187
parenta9658f71f70295965b05902e28b38ffc451e90fb (diff)
fix test_closure_compiler for ta2
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 50c4c8c7..6699e4e5 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3846,7 +3846,7 @@ Child2:9
src = open(filename, 'r').read().replace(
'// {{PRE_RUN_ADDITIONS}}',
'''
- FS.createDataFile('/', 'somefile.binary', [100, 200, 50, 25, 10, 77, 123], true, false);
+ FS.createDataFile('/', 'somefile.binary', [100, 1, 50, 25, 10, 77, 123], true, false);
'''
)
open(filename, 'w').write(src)
@@ -3862,7 +3862,7 @@ Child2:9
assert 'function _main()' not in src # closure should have wiped it out
open(filename, 'w').write(src)
- self.do_run(src, '*closured*\ndata: 100,200,50,25\n', post_build=post)
+ self.do_run(src, '*closured*\ndata: 100,1,50,25\n', post_build=post)
def test_safe_heap(self):
if Settings.USE_TYPED_ARRAYS == 2: return self.skip('It is ok to violate the load-store assumption with TA2')