aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-07-01 03:45:45 -0700
committerGitHub <noreply@github.com>2023-07-01 03:45:45 -0700
commit43ded8d3584477ab14731486cfb0e86534f2b2dc (patch)
tree09a39aa6aa13939d0b033843c7195a2e882ab8fb /cmake
parentba8f19ebb67ca27d746f4b1cd902ab3d807eace3 (diff)
downloadrneovim-43ded8d3584477ab14731486cfb0e86534f2b2dc.tar.gz
rneovim-43ded8d3584477ab14731486cfb0e86534f2b2dc.tar.bz2
rneovim-43ded8d3584477ab14731486cfb0e86534f2b2dc.zip
feat(version): unverbose ":version", ":verbose version" #24195
Problem: `nvim -v` and `:version` prints system vimrc, fallback files, and compilation info by default, which most people don't care about and just clutters up the output. Solution: Omit extra info unless 'verbose' is set.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/RunTests.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index e1a0c8d6c3..5e83b72235 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -66,6 +66,8 @@ set(ENV{SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_NAME}) # used by test/helpers.lua.
set(ENV{DEPS_INSTALL_DIR} ${DEPS_INSTALL_DIR}) # used by test/busted_runner.lua
execute_process(
+ # Note: because of "-ll" (low-level interpreter mode), some modules like
+ # _editor.lua are not loaded.
COMMAND ${NVIM_PRG} -ll ${WORKING_DIR}/test/busted_runner.lua -v -o test.busted.outputHandlers.${BUSTED_OUTPUT_TYPE}
--lazy --helper=${TEST_DIR}/${TEST_TYPE}/preload.lua
--lpath=${BUILD_DIR}/?.lua