diff options
-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" |