*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 2ebcc219 authored by android172's avatar android172
Browse files

Decode added. for timed out stdout.

parent 56745c8e
No related branches found
No related tags found
No related merge requests found
......@@ -84,16 +84,13 @@ def test_warps_and_scenes():
print(ret.stdout)
print(ret.stderr)
bt_s, rt_s = extract_times(
ret.stdout,
"-" if ret.returncode == 0 else "error"
)
bt_s, rt_s = extract_times(ret.stdout, "-" if ret.returncode == 0 else "error")
except subprocess.TimeoutExpired as e:
print(e.stdout)
bt_s, rt_s = extract_times(
e.stdout,
"timeout"
)
out = e.stdout.decode('utf-8')
err = e.stderr.decode('utf-8')
print(out)
print(err)
bt_s, rt_s = extract_times(out, "timeout")
with open("to_" + t, 'w') as fp:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment