diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-12-18 18:09:47 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-12-20 16:29:35 +0300 |
commit | 9984dd332f77a66def0ad23d71f729570a93dcbe (patch) | |
tree | dd29358630273fe23f714225d965aaa5db964b5c /tests/python/CMakeLists.txt | |
parent | 9a1bbca5b15ec91175ba595ff52df6adeefb6528 (diff) |
ID Management: Add some basic tests regarding name handling.
Those tests are here mostsly to ensure ID name management is working as
expected (the code ensuring we never have two ilocal data-blocks of the
same type with the same name in a .blend file).
Note: Currently fails in some cases, fixes are incoming.
Note: Ideally this would be in C, but we already have too many tests
linking the whole Blender and its libraries, this is becoming a real
pain to link debug + ASAN + tests build these days... So until we find a
better way to handle those dependencies, sticking to simple python
scripts.
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r-- | tests/python/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index 3036be71564..7241c26dfec 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -114,6 +114,14 @@ add_blender_test( ) # ------------------------------------------------------------------------------ +# DATA MANAGEMENT TESTS + +add_blender_test( + id_management + --python ${CMAKE_CURRENT_LIST_DIR}/bl_id_management.py +) + +# ------------------------------------------------------------------------------ # MODELING TESTS add_blender_test( bmesh_bevel |