Skip to content

Commit 14077b9

Browse files
author
Alan Kligman
committed
Updated some python invocations that I missed the first time through.
1 parent 315f13e commit 14077b9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def run_post(post):
199199
process(sys.argv[1])
200200
''')
201201
transform.close()
202-
transform_args = ['--js-transform', "python %s" % transform_filename]
202+
transform_args = ['--js-transform', "python2 %s" % transform_filename]
203203
Building.emcc(filename + '.o.ll', Settings.serialize() + self.emcc_args + transform_args + Building.COMPILER_TEST_OPTS, filename + '.o.js')
204204
run_post(post2)
205205

@@ -7911,7 +7911,7 @@ def test_emcc(self):
79117911
f.close()
79127912
''')
79137913
trans_file.close()
7914-
output = Popen(['python2', compiler, path_from_root('tests', 'hello_world' + suffix), '--js-transform', 'python t.py'], stdout=PIPE, stderr=PIPE).communicate()
7914+
output = Popen(['python2', compiler, path_from_root('tests', 'hello_world' + suffix), '--js-transform', 'python2 t.py'], stdout=PIPE, stderr=PIPE).communicate()
79157915
assert open('a.out.js').read() == 'transformed!', 'Transformed output must be as expected'
79167916

79177917
# TODO: Add in files test a clear example of using disablePermissions, and link to it from the wiki

third_party/CppHeaderParser/CppHeaderParser/CppHeaderParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/python2
22
#
33
# Author: Jashua R. Cloutier (contact via sourceforge username:senexcanis)
44
#

0 commit comments

Comments
 (0)