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:
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r--tests/python/CMakeLists.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index f33bb81d6b0..2ca21a315e4 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -228,13 +228,15 @@ add_blender_test(
--run-all-tests
)
-add_blender_test(
- physics_ocean
- ${TEST_SRC_DIR}/physics/ocean_test.blend
- --python ${TEST_PYTHON_DIR}/physics_ocean.py
- --
- --run-all-tests
-)
+if(WITH_MOD_OCEANSIM)
+ add_blender_test(
+ physics_ocean
+ ${TEST_SRC_DIR}/physics/ocean_test.blend
+ --python ${TEST_PYTHON_DIR}/physics_ocean.py
+ --
+ --run-all-tests
+ )
+endif()
add_blender_test(