aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-04 18:29:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:23 -0800
commit28fbac595bf2aca4002ef6d784ffcb6906093bd3 (patch)
tree8f436234e2cab5bd4c1829f6cddc3d0aa0110591 /tests/runner.py
parent01abee3ccd7d32f16ab0fc792c29652a8d8daed9 (diff)
registerizeAsm
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 4c698de3..a537f227 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8566,6 +8566,8 @@ f.close()
['eliminateMemSafe']),
(path_from_root('tools', 'eliminator', 'asm-eliminator-test.js'), open(path_from_root('tools', 'eliminator', 'asm-eliminator-test-output.js')).read(),
['eliminateAsm']),
+ (path_from_root('tools', 'test-js-optimizer-asm-regs.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-output.js')).read(),
+ ['registerizeAsm']),
]:
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'))