Commit ec380e25 authored by o9000's avatar o9000

Regression testing

parent e1b29d02
......@@ -198,7 +198,7 @@ def test(tint2path, config, use_asan):
leaks = find_asan_leaks(out)
sys.stderr.write("\n")
if use_asan:
mem_status = ok + " (ASAN on)"
mem_status = ok
else:
mem_status = ok if mem < 20 else warning if mem < 40 else error
print("Memory usage: %.1f %s %s" % (mem, "MB", mem_status))
......@@ -212,7 +212,7 @@ def test(tint2path, config, use_asan):
print("Memory usage details:")
print("```\n" + mem_detail.strip() + "\n```")
if use_asan:
fps_status = ok + " (ASAN on)"
fps_status = ok
else:
fps_status = ok if min_fps > 60 else warning if min_fps > 40 else error
print("FPS:", "min:", min_fps, "median:", med_fps, fps_status)
......
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