Fix run-test-suite-test262.py with python3 (#3139)
subprocess.Popen needs universal_newlines=True parameter to open the file in text mode instead of binary mode. With this fix readline() returns str instead of bytes. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
35a3df3f28
commit
137dd8d1f5
@@ -47,6 +47,7 @@ def run_test262_tests(runtime, engine, path_to_test262):
|
||||
'--command', (runtime + ' ' + engine).strip(),
|
||||
'--tests', path_to_test262,
|
||||
'--summary'],
|
||||
universal_newlines=True,
|
||||
stdout=subprocess.PIPE)
|
||||
|
||||
return_code = 0
|
||||
|
||||
Reference in New Issue
Block a user