mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
radeonsi/tests: add flakes option to radeonsi-run-tests.py
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15487>
This commit is contained in:
parent
88c14ed1da
commit
a6d7c5aa31
1 changed files with 7 additions and 1 deletions
|
|
@ -323,7 +323,13 @@ if args.piglit:
|
|||
|
||||
if os.path.exists(baseline):
|
||||
cmd += ["--baseline", baseline]
|
||||
print_yellow("[baseline {}]".format(baseline), args.verbose > 0)
|
||||
print_yellow("[baseline {}]\n".format(baseline), args.verbose > 0)
|
||||
|
||||
flakes = os.path.join(base, "{}-piglit-quick-flakes.csv".format(gpu_name))
|
||||
if os.path.exists(flakes):
|
||||
cmd += ["--flakes", flakes]
|
||||
print_yellow("[flakes {}]\n".format(flakes), args.verbose > 0)
|
||||
|
||||
run_cmd(cmd, args.verbose)
|
||||
shutil.copy(os.path.join(out, "failures.csv"), new_baseline)
|
||||
verify_results(baseline, new_baseline)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue