aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-25 13:00:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-25 13:00:53 -0700
commit6309dc12dc0f41f2be726662a473fbfc0f5c4851 (patch)
tree38eabb0ef8e7be776904ff3465bd1c7d2cee0dac /tests
parent50d86717964d0121878630d873b9b7e0b4c84712 (diff)
do not outline sp assignments, because we need sp to perform an outline call
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 056a53de..1646d40a 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -11064,7 +11064,9 @@ f.close()
curr = None
return ret
- for outlining_limit in [500, 1000, 2000, 5000, 0]:
+ for outlining_limit in [250, 500, 1000, 2000, 5000, 0]:
+ print '\n', outlining_limit, '\n'
+ # TODO: test without -g3, tell all sorts
Popen([PYTHON, EMCC, src] + libs + ['-o', 'test.js', '-O2', '-g3', '-s', 'OUTLINING_LIMIT=%d' % outlining_limit] + args).communicate()
assert os.path.exists('test.js')
shutil.copyfile('test.js', '%d_test.js' % outlining_limit)
@@ -11082,7 +11084,8 @@ f.close()
self.get_library('zlib', os.path.join('libz.a'), make_args=['libz.a']),
open(path_from_root('tests', 'zlib', 'ref.txt'), 'r').read(),
{
- 500: (290, 310),
+ 250: (330, 340),
+ 500: (270, 310),
1000: (350, 380),
2000: (470, 500),
5000: (800, 1100),