mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Increased the fail threshold for texture, rayquery and camera tests. Pull Request: https://projects.blender.org/blender/blender/pulls/154520
This commit is contained in:
parent
beafb31be4
commit
bbbc20fb81
1 changed files with 9 additions and 0 deletions
|
|
@ -265,6 +265,12 @@ def main():
|
|||
elif test_dir_name.startswith('principled_bsdf'):
|
||||
# principled bsdf transmission test
|
||||
report.set_fail_threshold(0.02)
|
||||
elif test_dir_name.startswith('texture'):
|
||||
# Line/rasterization difference AMD/Linux
|
||||
report.set_fail_threshold(0.02)
|
||||
elif test_dir_name.startswith('raycast'):
|
||||
# Line/rasterization difference AMD/Linux
|
||||
report.set_fail_threshold(0.02)
|
||||
|
||||
# Noise pattern changes depending on platform. Mostly caused by transparency.
|
||||
# TODO(fclem): See if we can just increase number of samples per file.
|
||||
|
|
@ -286,6 +292,9 @@ def main():
|
|||
elif test_dir_name.startswith('light'):
|
||||
# Noise difference in background
|
||||
report.set_fail_threshold(0.03)
|
||||
elif test_dir_name.startswith('camera'):
|
||||
# Noise difference on cube oin AMD/Linux
|
||||
report.set_fail_threshold(0.0375)
|
||||
|
||||
ok = report.run(args.testdir, args.blender, get_arguments, batch=args.batch)
|
||||
sys.exit(not ok)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue