Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <zeddb>2021-01-14 14:24:24 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-01-14 15:14:43 +0300
commit74f6b81c12c3c137a05eb0051d75821c11a30c11 (patch)
treef47929a4b7ddabd67b12b69ae369efd68b66d17a /tests/python/CMakeLists.txt
parent4e90266fd8c06214f2dfc2c84d4be8f8c24c532f (diff)
Tests: skip OSL render tests in build without OSL
Differential Revision: https://developer.blender.org/D9990
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r--tests/python/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 2ca21a315e4..d8bc5be40d7 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -651,6 +651,9 @@ if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS)
# Cycles
if(WITH_CYCLES)
+ if(NOT WITH_CYCLES_OSL)
+ set(_cycles_blacklist OSL)
+ endif()
foreach(_cycles_device ${CYCLES_TEST_DEVICES})
string(TOLOWER "${_cycles_device}" _cycles_device_lower)
set(_cycles_render_tests bake;${render_tests};osl)
@@ -664,6 +667,7 @@ if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS)
-idiff "${OPENIMAGEIO_IDIFF}"
-outdir "${TEST_OUT_DIR}/cycles"
-device ${_cycles_device}
+ -blacklist ${_cycles_blacklist}
)
endforeach()
endforeach()