Tests: Disable failing import/export tests for until they're fixed
[blender.git] / tests / python / cycles_render_tests.py
index af0f089becc7a8c799e0d83ab9c36f817db5fe8a..36fad175cfa1fe9b5e6c78d0e087b045f4d8189a 100755 (executable)
@@ -65,8 +65,10 @@ def verify_output(filepath):
     try:
         subprocess.check_output(command)
         return True
-    except subprocess.CalledProcessError as grepexc:
-        return grepexc.returncode == 1
+    except subprocess.CalledProcessError as e:
+        if VERBOSE:
+            print(e.output.decode("utf-8"))
+        return e.returncode == 1
 
 
 def run_test(filepath):
@@ -107,6 +109,8 @@ def run_all_tests(dirpath):
                 print('Can not perform tests because blender fails to start.',
                       'Make sure INSTALL target was run.')
                 return False
+            elif error == 'VERIFY':
+                pass
             else:
                 print("Unknown error %r" % error)
             testname = test_get_name(filepath)
@@ -140,9 +144,6 @@ 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"