[Bf-blender-cvs] [6175c569f9c] blender-v3.1-release: Tests: enable full Cycles Metal device regression tests on buildbot

Brecht Van Lommel noreply at git.blender.org
Fri Feb 11 14:35:46 CET 2022


Commit: 6175c569f9c7c7b2c97fd318634c4c61873f41ad
Author: Brecht Van Lommel
Date:   Thu Feb 10 18:44:58 2022 +0100
Branches: blender-v3.1-release
https://developer.blender.org/rB6175c569f9c7c7b2c97fd318634c4c61873f41ad

Tests: enable full Cycles Metal device regression tests on buildbot

Now that all tests are passing. This does add about 5 minutes to the macOS
builds on buildbot.

Ref T92212

===================================================================

M	tests/python/CMakeLists.txt

===================================================================

diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index d6575436bd6..5f52b34c389 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -691,19 +691,16 @@ if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS)
         set(_cycles_render_tests bake;${render_tests};osl)
 
         foreach(render_test ${_cycles_render_tests})
-          # Enable just one simple test for Metal until more tests are passing.
-          if((NOT (_cycles_device MATCHES "METAL")) OR (render_test MATCHES "camera"))
-            add_python_test(
-              cycles_${render_test}_${_cycles_device_lower}
-              ${CMAKE_CURRENT_LIST_DIR}/cycles_render_tests.py
-              -blender "${TEST_BLENDER_EXE}"
-              -testdir "${TEST_SRC_DIR}/render/${render_test}"
-              -idiff "${OPENIMAGEIO_IDIFF}"
-              -outdir "${TEST_OUT_DIR}/cycles"
-              -device ${_cycles_device}
-              -blacklist ${_cycles_blacklist}
-            )
-          endif()
+          add_python_test(
+            cycles_${render_test}_${_cycles_device_lower}
+            ${CMAKE_CURRENT_LIST_DIR}/cycles_render_tests.py
+            -blender "${TEST_BLENDER_EXE}"
+            -testdir "${TEST_SRC_DIR}/render/${render_test}"
+            -idiff "${OPENIMAGEIO_IDIFF}"
+            -outdir "${TEST_OUT_DIR}/cycles"
+            -device ${_cycles_device}
+            -blacklist ${_cycles_blacklist}
+          )
         endforeach()
       endforeach()
     endif()



More information about the Bf-blender-cvs mailing list