Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-07-06 18:39:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-07-06 18:39:09 +0300
commit04b3d682bbfaba08d66efef326a55bf4a00d1e3c (patch)
treeec86201acc40d6cf4108fede8fe160f975b1bba0 /tests
parentd501d0f91ecc9cc1fa832d8145683cd2a30b8640 (diff)
Cycles tests: Don't create fail file on idiff warning
Diffstat (limited to 'tests')
-rwxr-xr-xtests/python/cycles_render_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index fb9e63aa222..e1b5e2d1d23 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -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