aboutsummaryrefslogtreecommitdiff
path: root/cmake/RunTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/RunTests.cmake')
-rw-r--r--cmake/RunTests.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index e2c548d7e6..b926e31994 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -1,5 +1,9 @@
get_filename_component(BUSTED_DIR ${BUSTED_PRG} PATH)
set(ENV{PATH} "${BUSTED_DIR}:$ENV{PATH}")
+if(NVIM_PRG)
+ set(ENV{NVIM_PROG} "${NVIM_PRG}")
+endif()
+
if(DEFINED ENV{TEST_FILE})
set(TEST_DIR $ENV{TEST_FILE})
endif()