Cycles tests: move to render/ folder, to share with Eevee.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 18 May 2018 14:46:48 +0000 (16:46 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 18 May 2018 14:46:48 +0000 (16:46 +0200)
tests/python/CMakeLists.txt

index 9b1807b796b3018d75e903bf9599dca9536f4b35..0a6e2e4909cd8744f14716249f466e67f7b08285 100644 (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"
                        )