Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-01-10 19:32:36 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-01-10 19:35:07 +0300
commit1a27d20df3ff57d3b95a24daec2ca8ff3de5dbc2 (patch)
treefd76d58b437fb23a788943d97057f69728fbd435 /tests
parent39ba82f25d1532526fbf5f1be2faa4f327d3a51e (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/python/CMakeLists.txt23
1 files changed, 13 insertions, 10 deletions
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()