Add extra Cycles regression tests
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 31 Jan 2015 19:49:35 +0000 (00:49 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 1 Feb 2015 21:02:10 +0000 (02:02 +0500)
This new tests are aimed to issues/regressions reported to the tracker.

tests/python/CMakeLists.txt
tests/python/cycles_render_tests.py

index c366aad892f958aada3a4ec14ccff72bc30fbbcd..49027091481d79d29ecbc2da711a6c8591a984f5 100644 (file)
@@ -362,6 +362,12 @@ add_test(export_fbx_all_objects ${TEST_BLENDER_EXE}
 
 if(WITH_CYCLES)
        if(OPENIMAGEIO_IDIFF AND EXISTS "${TEST_SRC_DIR}/cycles/ctests/shader")
+               add_test(cycles_reports_test
+                       ${CMAKE_CURRENT_LIST_DIR}/cycles_render_tests.py
+                       -blender "${TEST_BLENDER_EXE_BARE}"
+                       -testdir "${TEST_SRC_DIR}/cycles/ctests/reports"
+                       -idiff "${OPENIMAGEIO_IDIFF}"
+               )
                add_test(cycles_shaders_test
                        ${CMAKE_CURRENT_LIST_DIR}/cycles_render_tests.py
                        -blender "${TEST_BLENDER_EXE_BARE}"
index e7435a261ae5437f0be429af1ddbc7a6924417dc..36fad175cfa1fe9b5e6c78d0e087b045f4d8189a 100755 (executable)
@@ -109,7 +109,7 @@ 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 == 'VARIFY':
+            elif error == 'VERIFY':
                 pass
             else:
                 print("Unknown error %r" % error)