[Bf-blender-cvs] [1a27d20df3f] master: Tests: disable all but one simple test for the Cycles Metal device
Brecht Van Lommel
noreply at git.blender.org
Mon Jan 10 17:35:14 CET 2022
Commit: 1a27d20df3ff57d3b95a24daec2ca8ff3de5dbc2
Author: Brecht Van Lommel
Date: Mon Jan 10 17:32:36 2022 +0100
Branches: master
https://developer.blender.org/rB1a27d20df3ff57d3b95a24daec2ca8ff3de5dbc2
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
===================================================================
M tests/python/CMakeLists.txt
===================================================================
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 7f221e1c4eb..4edacf12e6a 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -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()
More information about the Bf-blender-cvs
mailing list