diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-28 18:25:35 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-28 18:25:35 -0700 |
commit | 2c05adf81582be5216e28198b0a104b21dabf835 (patch) | |
tree | 3a229b4e96899039884574d961d48b9d70a4566c /tests | |
parent | dcc877f3bd1137c40ccf48c674b52084a93379db (diff) |
split out js_optimizer python portion into an independent module
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 71acb4da..864cde3d 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7934,7 +7934,7 @@ f.close() (path_from_root('tools', 'eliminator', 'safe-eliminator-test.js'), open(path_from_root('tools', 'eliminator', 'safe-eliminator-test-output.js')).read(), ['eliminateMemSafe']), ]: - output = Popen([NODE_JS, JS_OPTIMIZER, input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0] + output = Popen([NODE_JS, path_from_root('tools', 'js-optimizer.js'), input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0] self.assertIdentical(expected, output.replace('\n\n', '\n')) def test_m_mm(self): |