diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-19 11:53:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-19 11:53:52 -0800 |
commit | b961c328f28daff5d1824ad4d04e076ab0ac7f34 (patch) | |
tree | ce8001773dcac0d4cb58108e9751beef4f32c367 /tests/runner.py | |
parent | 35cbbe82edf2173092592244aa342285fbcb5e44 (diff) |
emit 5.0 instead of +5 in asm
Diffstat (limited to 'tests/runner.py')
-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 a33bf133..bef4001e 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -9054,6 +9054,8 @@ f.close() ['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(), ['asm', 'simplifyExpressionsPre']), + (path_from_root('tools', 'test-js-optimizer-asm-last.js'), open(path_from_root('tools', 'test-js-optimizer-asm-last-output.js')).read(), + ['asm', 'last']), ]: 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')) |