diff options
author | Ghostkeeper <rubend@tutanota.com> | 2018-10-18 18:22:57 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2018-10-18 18:22:57 +0300 |
commit | 4e54f13145746e75f2133617eda7a6b188677cb1 (patch) | |
tree | afad7b29ce7a98a2fb6e5ae61f46b5c4f6a1493f /cmake | |
parent | 05c2349411e84a2b0883412968f3733708c79f9e (diff) |
Move shortcut keys test to CMake
So that when you run tests locally, you also test this one.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CuraTests.cmake | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cmake/CuraTests.cmake b/cmake/CuraTests.cmake index 30794ed608..f2ee92d65b 100644 --- a/cmake/CuraTests.cmake +++ b/cmake/CuraTests.cmake @@ -57,5 +57,13 @@ endforeach() #Add code style test. add_test( NAME "code-style" - COMMAND ${PYTHON_EXECUTABLE} run_mypy.py WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + COMMAND ${PYTHON_EXECUTABLE} run_mypy.py + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +) + +#Add test for whether the shortcut alt-keys are unique in every translation. +add_test( + NAME "shortcut-keys" + COMMAND ${PYTHON_EXECUTABLE} scripts/check_shortcut_keys.py + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} )
\ No newline at end of file |