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:
authorSybren A. Stüvel <sybren@blender.org>2020-02-25 14:16:34 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-02-25 15:30:42 +0300
commit7bc893c8279457ef32eb4a0d4e98fe40de5afdf1 (patch)
tree002b3e7e630468b6135014e420dc5c89bd4e8275 /tests/python/CMakeLists.txt
parent4f92367bdecaf3a4330da7cbc01a694c42adbb4a (diff)
Start of unit test framework for constraints
Currently this only tests the Child Of constraint. My aim is to cover constraints with tests before they are refactored/altered. No functional changes.
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r--tests/python/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 358200dece4..c47c7a5b4fc 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -183,6 +183,13 @@ add_blender_test(
--run-all-tests
)
+add_blender_test(
+ constraints
+ --python ${CMAKE_CURRENT_LIST_DIR}/bl_constraints.py
+ --
+ --testdir "${TEST_SRC_DIR}/constraints"
+)
+
# ------------------------------------------------------------------------------
# OPERATORS TESTS
add_blender_test(