diff options
author | Martijn Berger <martijn.berger@gmail.com> | 2015-01-23 18:28:59 +0300 |
---|---|---|
committer | Martijn Berger <martijn.berger@gmail.com> | 2015-01-23 18:29:06 +0300 |
commit | d390e24c49ba8543b56948402622563cae6e860f (patch) | |
tree | 67e03bdb2ce43d08281980e426df8c9c64069459 /tests | |
parent | 6d78936c43741b74f1226af9c096d7253f8fb266 (diff) |
New cycles tests require buildbot to checkout tests of have test succeed if we test 0 files.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/python/cycles_render_tests.py | 3 |
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" |