From 8fef9214a7ea050fb27f4444966c152f92239866 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Fri, 21 Feb 2025 20:31:57 +0100 Subject: [PATCH] Tests: Move sculpting render tests out of WITH_GPU_RENDER_TESTS Adds a new CMake option so that these tests can be run independently of other tests, and so that existing tests that use WITH_GPU_RENDER_TESTS are not forced to run these sculpt tests. Pull Request: https://projects.blender.org/blender/blender/pulls/134893 --- CMakeLists.txt | 1 + tests/python/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d13232dc003..5ed26e0e4f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -847,6 +847,7 @@ Enable GPU drawing related unit testing (draw manager)" OFF ) option(WITH_GPU_COMPOSITOR_TESTS "Enable regression testing for GPU compositor" OFF) +option(WITH_GPU_MESH_PAINT_TESTS "Enable visual render-based regression testing for mesh painting" OFF) if(UNIX AND NOT (APPLE OR HAIKU)) option(WITH_UI_TESTS "\ Enable user-interface tests using a headless display server. \ diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index 71389dd7f78..4627c025ea0 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -1192,7 +1192,7 @@ endif() # ------------------------------------------------------------------------------ # SCULPTING RENDER TESTS -if(WITH_GPU_RENDER_TESTS) +if(WITH_GPU_MESH_PAINT_TESTS) if(NOT OPENIMAGEIO_TOOL) message(STATUS "Disabling sculpting render tests because OIIO oiiotool does not exist") else()