Tests: disable all but one simple test for the Cycles Metal device
Until all tests are passing, this lets us run a basic test on the buildbot. Ref T92212
This commit is contained in:
parent
39ba82f25d
commit
1a27d20df3
Notes:
blender-bot
2023-02-14 10:11:54 +01:00
Referenced by issue #92212, Cycles Metal device
|
@ -691,16 +691,19 @@ if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS)
|
|||
set(_cycles_render_tests bake;${render_tests};osl)
|
||||
|
||||
foreach(render_test ${_cycles_render_tests})
|
||||
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}
|
||||
)
|
||||
# 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()
|
||||
endforeach()
|
||||
endforeach()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue