Regression testing
o9000 mrovi9000@gmail.com
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
test/regression.py
→
test/regression.py
@@ -198,7 +198,7 @@ min_fps, med_fps = compute_min_med_fps(out)
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 @@ if mem_status != ok:
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)