aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-10 13:31:25 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-10 13:31:25 -0800
commit4a472ca90a98b5d1d4084c0a501d6341a8cc2907 (patch)
treecabbd52bb27c3d4449ff90492138b9ea38d27643 /tests/runner.py
parentb2827e02a2b996e501bf00fe884cd34370dbcca1 (diff)
use NODE_JS when calling coffee and eliminator, to avoid problems with missing system node
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 67ba24dc..22e8ff1d 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -5465,7 +5465,7 @@ f.close()
def test_eliminator(self):
input = open(path_from_root('tools', 'eliminator', 'eliminator-test.js')).read()
expected = open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read()
- output = Popen([COFFEESCRIPT, VARIABLE_ELIMINATOR], stdin=PIPE, stdout=PIPE).communicate(input)[0]
+ output = Popen([NODE_JS, COFFEESCRIPT, VARIABLE_ELIMINATOR], stdin=PIPE, stdout=PIPE).communicate(input)[0]
self.assertIdentical(expected, output)
def test_js_optimizer(self):