aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-12 12:15:41 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-12 12:15:41 -0800
commit832358c2951f9c57ffebda3693e42473b679cedc (patch)
tree7f0d0cd26eb19bbd5a41d065b2782c797d865756 /tests
parent23fbe4113290f07b8fbb03f63e0e9ef636fb3aed (diff)
refactor use of asm in js optimizer
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d3471f62..3340ad64 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8980,11 +8980,11 @@ f.close()
(path_from_root('tools', 'eliminator', 'safe-eliminator-test.js'), open(path_from_root('tools', 'eliminator', 'safe-eliminator-test-output.js')).read(),
['eliminateMemSafe']),
(path_from_root('tools', 'eliminator', 'asm-eliminator-test.js'), open(path_from_root('tools', 'eliminator', 'asm-eliminator-test-output.js')).read(),
- ['eliminateAsm']),
+ ['asm', 'eliminate']),
(path_from_root('tools', 'test-js-optimizer-asm-regs.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-output.js')).read(),
- ['registerizeAsm']),
+ ['asm', 'registerize']),
(path_from_root('tools', 'test-js-optimizer-asm-pre.js'), open(path_from_root('tools', 'test-js-optimizer-asm-pre-output.js')).read(),
- ['simplifyExpressionsPreAsm']),
+ ['asm', 'simplifyExpressionsPre']),
]:
output = Popen([NODE_JS, path_from_root('tools', 'js-optimizer.js'), input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0]
self.assertIdentical(expected, output.replace('\r\n', '\n').replace('\n\n', '\n'))