CMake: Rename compositor tests option to WITH_COMPOSITOR_REALTIME_TESTS

It follows the naming convention of other unit-test variables.

Pull Request: https://projects.blender.org/blender/blender/pulls/111437
This commit is contained in:
Sergey Sharybin 2023-08-23 16:03:12 +02:00 committed by Sergey Sharybin
parent 89dc2e1649
commit cf8ea05e71
2 changed files with 2 additions and 2 deletions

@ -761,7 +761,7 @@ endif()
option(WITH_GTESTS "Enable GTest unit testing" OFF)
option(WITH_OPENGL_RENDER_TESTS "Enable OpenGL render related unit testing (Experimental)" OFF)
option(WITH_OPENGL_DRAW_TESTS "Enable OpenGL UI drawing related unit testing (Experimental)" OFF)
option(WITH_COMPOSITOR_REALTIME_TEST "Enable regression testing for realtime compositor" OFF)
option(WITH_COMPOSITOR_REALTIME_TESTS "Enable regression testing for realtime compositor" OFF)
# NOTE: All callers of this must add `TEST_PYTHON_EXE_EXTRA_ARGS` before any other arguments.
set(TEST_PYTHON_EXE "" CACHE PATH "Python executable to run unit tests")
mark_as_advanced(TEST_PYTHON_EXE)

@ -730,7 +730,7 @@ if(WITH_COMPOSITOR_CPU)
endif()
# NOTE: WITH_COMPOSITOR_CPU is needed for rendering.
if(WITH_COMPOSITOR_REALTIME_TEST AND WITH_COMPOSITOR_CPU)
if(WITH_COMPOSITOR_REALTIME_TESTS AND WITH_COMPOSITOR_CPU)
if(NOT OPENIMAGEIO_IDIFF)
message(WARNING "Disabling realtime compositor tests because OIIO idiff does not exist")
else()