Commit 44060638 authored by Boxiang Sun's avatar Boxiang Sun

pyodide test suite amending

parent 194f047f
......@@ -18,4 +18,4 @@ md5sum = e4e96f0f08b8de6807a24f43fce34b40
[template-runTestSuite]
filename = runTestSuite.in
md5sum = 4c4f50349862d79b8e46902f7b5517de
\ No newline at end of file
md5sum = 76ba62f1184d61a8c3366cd6b9964db8
\ No newline at end of file
......@@ -60,8 +60,11 @@ def main():
result_string = check_output(['pytest', '--timeout=5', './test/test_common.py'],
cwd='${pyodide:location}',
env=env) # temporary solution for not block by xfailed tests too long
except Exception, e:
except OSError, e:
result_string = str(e.strerror)
except Exception, e: # except CalledProcessError, e:
result_string = str(e.output)
print('${pyodide:location}')
print(result_string)
test_result_content = result_string.split('\n')
print('---------------------')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment