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:
authorMartijn Berger <martijn.berger@gmail.com>2015-01-23 18:28:59 +0300
committerMartijn Berger <martijn.berger@gmail.com>2015-01-23 18:29:06 +0300
commitd390e24c49ba8543b56948402622563cae6e860f (patch)
tree67e03bdb2ce43d08281980e426df8c9c64069459 /tests
parent6d78936c43741b74f1226af9c096d7253f8fb266 (diff)
New cycles tests require buildbot to checkout tests of have test succeed if we test 0 files.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/python/cycles_render_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index 815811f6cb8..af0f089becc 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -140,6 +140,9 @@ def main():
ROOT = args.testdir[0]
IDIFF = args.idiff[0]
+ if no os.path.exists(ROOT):
+ sys.exit(0)
+
TEMP = tempfile.mkdtemp()
TEMP_FILE_MASK = os.path.join(TEMP, "test")
TEMP_FILE = TEMP_FILE_MASK + "0001.png"