aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlan Kligman <alan.kligman@gmail.com>2012-12-01 22:01:44 -0500
committerAlan Kligman <alan.kligman@gmail.com>2012-12-19 18:06:48 -0500
commit14077b986818ee3da10ae8488eea5000276a10ea (patch)
treeddce29ff4686942c8f59c1094863a9773f2bc443 /tests/runner.py
parent315f13e5a1b35e23241da080f0df16e80ece88ae (diff)
Updated some python invocations that I missed the first time through.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 29deeb44..f459931c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -199,7 +199,7 @@ sys.path += [%r]
process(sys.argv[1])
''')
transform.close()
- transform_args = ['--js-transform', "python %s" % transform_filename]
+ transform_args = ['--js-transform', "python2 %s" % transform_filename]
Building.emcc(filename + '.o.ll', Settings.serialize() + self.emcc_args + transform_args + Building.COMPILER_TEST_OPTS, filename + '.o.js')
run_post(post2)
@@ -7911,7 +7911,7 @@ f.write('transformed!')
f.close()
''')
trans_file.close()
- output = Popen(['python2', compiler, path_from_root('tests', 'hello_world' + suffix), '--js-transform', 'python t.py'], stdout=PIPE, stderr=PIPE).communicate()
+ output = Popen(['python2', compiler, path_from_root('tests', 'hello_world' + suffix), '--js-transform', 'python2 t.py'], stdout=PIPE, stderr=PIPE).communicate()
assert open('a.out.js').read() == 'transformed!', 'Transformed output must be as expected'
# TODO: Add in files test a clear example of using disablePermissions, and link to it from the wiki