test: Set VIMRUNTIME before running tests

This is required for testing scripts under the 'runtime' directory
This commit is contained in:
Thiago de Arruda 2014-11-04 15:44:43 -03:00
parent 3972715ce7
commit 5e5525a78b

View File

@ -1,6 +1,8 @@
get_filename_component(BUSTED_DIR ${BUSTED_PRG} PATH)
set(ENV{PATH} "${BUSTED_DIR}:$ENV{PATH}")
set(ENV{VIMRUNTIME} ${WORKING_DIR}/runtime)
if(NVIM_PRG)
set(ENV{NVIM_PROG} "${NVIM_PRG}")
endif()