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
This commit is contained in:
Brecht Van Lommel 2022-02-10 18:44:58 +01:00
parent 2496a94384
commit 6175c569f9
Notes: blender-bot 2023-02-14 03:00:45 +01:00
Referenced by issue #92212, Cycles Metal device
1 changed files with 10 additions and 13 deletions

View File

@ -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()