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:
Csaba Osztrogonác
2019-09-23 22:06:02 +02:00
committed by Robert Fancsik
parent 35a3df3f28
commit 137dd8d1f5
+1
View File
@@ -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