aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-17 15:40:09 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-30 14:22:25 +0100
commitbf0be0f63e7142675f1376781c128116d12c520d (patch)
treec73b0afff680bd79c191ac751154ef119f6a6258 /test
parentc89292fcb7f2ebf06efb7c1d00c28f34c6f68fec (diff)
downloadrneovim-bf0be0f63e7142675f1376781c128116d12c520d.tar.gz
rneovim-bf0be0f63e7142675f1376781c128116d12c520d.tar.bz2
rneovim-bf0be0f63e7142675f1376781c128116d12c520d.zip
build: various improvements
- Use `#pragma once` for `cmake.config/config.h.in` - Remove unused variable `CACHED_GENERATED_DIR` - Reorganize and sort variables - Introduce `STYLUA_DIRS` variable to ensure the `formatlua` and `lintlua-stylua` operates on the same files. - Adjust variable scope to avoid using hacky directory properties. - Add more necessary runtime files as test dependencies
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index da6d3ea39e..da2c29010b 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,5 +1,4 @@
add_subdirectory(functional/fixtures) # compile test programs
-get_directory_property(GENERATED_HELP_TAGS DIRECTORY ${PROJECT_SOURCE_DIR}/runtime DEFINITION GENERATED_HELP_TAGS)
get_target_property(TEST_INCLUDE_DIRS main_lib INTERFACE_INCLUDE_DIRECTORIES)
@@ -35,7 +34,7 @@ add_custom_target(functionaltest
-D TEST_TYPE=functional
${TEST_OPTIONS}
-P ${PROJECT_SOURCE_DIR}/cmake/RunTests.cmake
- DEPENDS nvim printenv-test printargs-test shell-test pwsh-test streams-test tty-test ${GENERATED_HELP_TAGS}
+ DEPENDS nvim printenv-test printargs-test shell-test pwsh-test streams-test tty-test ${GENERATED_HELP_TAGS} ${GENERATED_SYN_VIM}
USES_TERMINAL)
add_custom_target(benchmark