mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles tests: Don't create fail file on idiff warning
This commit is contained in:
parent
d501d0f91e
commit
04b3d682bb
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ def verify_output(filepath):
|
|||
os.remove(failed_image)
|
||||
return True
|
||||
except subprocess.CalledProcessError as e:
|
||||
shutil.copy(TEMP_FILE, failed_image)
|
||||
if e.returncode != 1:
|
||||
shutil.copy(TEMP_FILE, failed_image)
|
||||
if VERBOSE:
|
||||
print(e.output.decode("utf-8"))
|
||||
return e.returncode == 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue