aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-06-08 17:47:34 +0200
committerGitHub <noreply@github.com>2022-06-08 08:47:34 -0700
commit4d9e2247c939a5df0a79a06f37ab882ff66aeb01 (patch)
tree0e4333d8e3a530e7ed29ea9aa3b9a9f67b49b889 /cmake
parentf48aa68e0832e74aef19b1ac09f31bae3d231efe (diff)
downloadrneovim-4d9e2247c939a5df0a79a06f37ab882ff66aeb01.tar.gz
rneovim-4d9e2247c939a5df0a79a06f37ab882ff66aeb01.tar.bz2
rneovim-4d9e2247c939a5df0a79a06f37ab882ff66aeb01.zip
refactor(log): simplify log_path_init #18898
Problem: Since 22b52dd462e5 #11501, log_path_init is called in log_init, so it is now called at a deterministic time. So the "just in time" complexity of log_path_init is no longer needed. Solution: Remove logic intended to try to "heal" partial initialization.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/RunTests.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index 3adbcbbfc5..bf5049c5f0 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -11,6 +11,7 @@ set(ENV{NVIM_RPLUGIN_MANIFEST} ${BUILD_DIR}/Xtest_rplugin_manifest)
set(ENV{XDG_CONFIG_HOME} ${BUILD_DIR}/Xtest_xdg/config)
set(ENV{XDG_DATA_HOME} ${BUILD_DIR}/Xtest_xdg/share)
unset(ENV{XDG_DATA_DIRS})
+unset(ENV{NVIM}) # Clear $NVIM in case tests are running from Nvim. #11009
if(NOT DEFINED ENV{NVIM_LOG_FILE})
set(ENV{NVIM_LOG_FILE} ${BUILD_DIR}/.nvimlog)