Tests: Change force disable render test messages to be warnings

These were easilly missable and took some effort to find why the test
were disabled.
This commit is contained in:
Clément Foucault 2022-04-14 13:10:26 +02:00
parent c9574412c7
commit 1440074cac
1 changed files with 4 additions and 4 deletions

View File

@ -627,13 +627,13 @@ endif()
if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS)
if(NOT OPENIMAGEIO_IDIFF)
MESSAGE(STATUS "Disabling Cycles tests because OIIO idiff does not exist")
MESSAGE(WARNING "Disabling render tests because OIIO idiff does not exist")
elseif(NOT EXISTS "${TEST_SRC_DIR}/render/shader")
MESSAGE(STATUS "Disabling Cycles tests because tests folder does not exist at ${TEST_SRC_DIR}")
MESSAGE(WARNING "Disabling render tests because tests folder does not exist at ${TEST_SRC_DIR}")
elseif(NOT WITH_COMPOSITOR)
MESSAGE(STATUS "Disabling Cycles tests because WITH_COMPOSITOR is disabled")
MESSAGE(WARNING "Disabling render tests because WITH_COMPOSITOR is disabled")
elseif(NOT WITH_OPENCOLORIO)
MESSAGE(STATUS "Disabling Cycles tests because WITH_OPENCOLORIO is disabled")
MESSAGE(WARNING "Disabling render tests because WITH_OPENCOLORIO is disabled")
else()
set(render_tests
camera