diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-29 11:33:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:19 -0800 |
commit | 1b591a0b0c8d330dafdac65e732c6f14c22a19ca (patch) | |
tree | 30503b8737686ee756f681a9cf367640cdcef9b4 /tests | |
parent | b707c2c64149107db7906e1ef442dc25a3224276 (diff) |
add eliminator mode for asm
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index cb0c8bdb..163779d5 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8531,6 +8531,8 @@ f.close() ['eliminate']), (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']), ]: 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')) |