build: update some test dependencies (#10339)

* build: update some test dependencies

* luacheck ignores

* BuildLua: add ${BUSTED} to depends for ${BUSTED_LUA}

This is required to rebuild it when busted gets updated.
This commit is contained in:
Daniel Hahler 2019-06-29 22:25:00 +02:00 committed by GitHub
parent 9875372607
commit 52fced6090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -659,6 +659,7 @@ describe('put command', function()
end)
describe('put after the line with virtualedit', function()
-- luacheck: ignore 621
local test_string = [[
Line of words 1 test_stringx"
Line of words 2]]
@ -855,6 +856,7 @@ describe('put command', function()
end)
describe('. register special tests', function()
-- luacheck: ignore 621
before_each(reset)
it('applies control character actions', function()
feed('i<C-t><esc>u')

View File

@ -91,7 +91,7 @@ set(BUSTED_LUA ${BUSTED}-lua)
add_custom_command(OUTPUT ${BUSTED_LUA}
COMMAND sed -e 's/^exec/exec $$LUA_DEBUGGER/' -e 's/jit//g' < ${BUSTED} > ${BUSTED_LUA} && chmod +x ${BUSTED_LUA}
DEPENDS lua busted)
DEPENDS lua busted ${BUSTED})
add_custom_target(busted-lua
DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua)

View File

@ -111,7 +111,7 @@ endif()
# DEPENDS on the previous module, because Luarocks breaks if parallel.
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/mpack
COMMAND ${LUAROCKS_BINARY}
ARGS build mpack 1.0.7-0 ${LUAROCKS_BUILDARGS}
ARGS build mpack 1.0.8-0 ${LUAROCKS_BUILDARGS}
DEPENDS luarocks)
add_custom_target(mpack
DEPENDS ${HOSTDEPS_LIB_DIR}/luarocks/rocks/mpack)
@ -120,7 +120,7 @@ list(APPEND THIRD_PARTY_DEPS mpack)
# DEPENDS on the previous module, because Luarocks breaks if parallel.
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/lpeg
COMMAND ${LUAROCKS_BINARY}
ARGS build lpeg 1.0.1-1 ${LUAROCKS_BUILDARGS}
ARGS build lpeg 1.0.2-1 ${LUAROCKS_BUILDARGS}
DEPENDS mpack)
add_custom_target(lpeg
DEPENDS ${HOSTDEPS_LIB_DIR}/luarocks/rocks/lpeg)
@ -174,7 +174,7 @@ if(USE_BUNDLED_BUSTED)
# DEPENDS on the previous module, because Luarocks breaks if parallel.
add_custom_command(OUTPUT ${BUSTED_EXE}
COMMAND ${LUAROCKS_BINARY}
ARGS build busted 2.0.rc12-1 ${LUAROCKS_BUILDARGS}
ARGS build busted 2.0.rc13-0 ${LUAROCKS_BUILDARGS}
DEPENDS penlight)
add_custom_target(busted
DEPENDS ${BUSTED_EXE})
@ -182,7 +182,7 @@ if(USE_BUNDLED_BUSTED)
# DEPENDS on the previous module, because Luarocks breaks if parallel.
add_custom_command(OUTPUT ${LUACHECK_EXE}
COMMAND ${LUAROCKS_BINARY}
ARGS build luacheck 0.21.2-1 ${LUAROCKS_BUILDARGS}
ARGS build luacheck 0.23.0-1 ${LUAROCKS_BUILDARGS}
DEPENDS busted)
add_custom_target(luacheck
DEPENDS ${LUACHECK_EXE})