Cycles tests: move to render/ folder, to share with Eevee.

This commit is contained in:
Brecht Van Lommel 2018-05-18 16:46:48 +02:00
parent e077285745
commit d712dd2f19
Notes: blender-bot 2023-02-14 11:28:39 +01:00
Referenced by issue #55136, Inapproriate dependencies
1 changed files with 2 additions and 2 deletions

View File

@ -532,13 +532,13 @@ function(add_python_test testname testscript)
endfunction()
if(WITH_CYCLES)
if(OPENIMAGEIO_IDIFF AND EXISTS "${TEST_SRC_DIR}/cycles/ctests/shader")
if(OPENIMAGEIO_IDIFF AND EXISTS "${TEST_SRC_DIR}/render/ctests/shader")
macro(add_cycles_render_test subject)
add_python_test(
cycles_${subject}_test
${CMAKE_CURRENT_LIST_DIR}/cycles_render_tests.py
-blender "$<TARGET_FILE:blender>"
-testdir "${TEST_SRC_DIR}/cycles/ctests/${subject}"
-testdir "${TEST_SRC_DIR}/render/ctests/${subject}"
-idiff "${OPENIMAGEIO_IDIFF}"
-outdir "${TEST_OUT_DIR}/cycles"
)