diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-14 11:06:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-14 15:31:09 +0300 |
commit | 85b209e02e07ca0918237b655a94d1214c72deb1 (patch) | |
tree | dfa02b0cab4473bc13d00890cec53f05193a3688 /tests/python/CMakeLists.txt | |
parent | b0fbd1ff6f27fd97d504adab298648c2c4abdd61 (diff) |
Tests: add script_validate_keymap
This checks the generated key-map data matches the result of
re-exporting and re-importing.
This shows up various inconsistencies, including:
- Unused keymaps.
- Unknown/unused data in the keymap.
- Event arguments that don't make sense.
- Event values that don't match the event type
(tweak direction on keyboard event for example).
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r-- | tests/python/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index d8bc5be40d7..260eb75d64f 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -71,6 +71,12 @@ add_blender_test( ) add_blender_test( + script_validate_keymap + --python ${CMAKE_CURRENT_LIST_DIR}/bl_keymap_validate.py + -- --relaxed # Disable minor things that should not cause tests to break. +) + +add_blender_test( script_load_addons --python ${CMAKE_CURRENT_LIST_DIR}/bl_load_addons.py ) |