aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-22 16:10:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-22 16:10:42 -0800
commitcb21f4b606b9eee5599bd2e2a8021e7cc891a917 (patch)
tree5bcb0df5f0ee7c907c5e08b6ae5a2f3764668067 /tests/runner.py
parentaa9985f119a8099a8eb0335de787d560242af4f9 (diff)
consolidate llvm switch checks to both optimize execution and fix a bug with hoistMultiples
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 59db23e2..84862c67 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -5302,7 +5302,7 @@ Options that are modified or new in %s include:
def test_js_optimizer(self):
input = open(path_from_root('tools', 'test-js-optimizer.js')).read()
expected = open(path_from_root('tools', 'test-js-optimizer-output.js')).read()
- output = Popen([NODE_JS, JS_OPTIMIZER, 'hoistMultiples', 'unGlobalize', 'removeAssignsToUndefined', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'loopOptimizer'],
+ output = Popen([NODE_JS, JS_OPTIMIZER, 'hoistMultiples', 'loopOptimizer', 'unGlobalize', 'removeAssignsToUndefined', 'simplifyExpressionsPre', 'simplifyExpressionsPost'],
stdin=PIPE, stdout=PIPE).communicate(input)[0]
self.assertIdentical(expected, output.replace('\n\n', '\n'))