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:
parent
9875372607
commit
52fced6090
|
@ -659,6 +659,7 @@ describe('put command', function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe('put after the line with virtualedit', function()
|
describe('put after the line with virtualedit', function()
|
||||||
|
-- luacheck: ignore 621
|
||||||
local test_string = [[
|
local test_string = [[
|
||||||
Line of words 1 test_stringx"
|
Line of words 1 test_stringx"
|
||||||
Line of words 2]]
|
Line of words 2]]
|
||||||
|
@ -855,6 +856,7 @@ describe('put command', function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe('. register special tests', function()
|
describe('. register special tests', function()
|
||||||
|
-- luacheck: ignore 621
|
||||||
before_each(reset)
|
before_each(reset)
|
||||||
it('applies control character actions', function()
|
it('applies control character actions', function()
|
||||||
feed('i<C-t><esc>u')
|
feed('i<C-t><esc>u')
|
||||||
|
|
|
@ -91,7 +91,7 @@ set(BUSTED_LUA ${BUSTED}-lua)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${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}
|
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
|
add_custom_target(busted-lua
|
||||||
DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua)
|
DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua)
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ endif()
|
||||||
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
||||||
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/mpack
|
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/mpack
|
||||||
COMMAND ${LUAROCKS_BINARY}
|
COMMAND ${LUAROCKS_BINARY}
|
||||||
ARGS build mpack 1.0.7-0 ${LUAROCKS_BUILDARGS}
|
ARGS build mpack 1.0.8-0 ${LUAROCKS_BUILDARGS}
|
||||||
DEPENDS luarocks)
|
DEPENDS luarocks)
|
||||||
add_custom_target(mpack
|
add_custom_target(mpack
|
||||||
DEPENDS ${HOSTDEPS_LIB_DIR}/luarocks/rocks/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.
|
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
||||||
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/lpeg
|
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/lpeg
|
||||||
COMMAND ${LUAROCKS_BINARY}
|
COMMAND ${LUAROCKS_BINARY}
|
||||||
ARGS build lpeg 1.0.1-1 ${LUAROCKS_BUILDARGS}
|
ARGS build lpeg 1.0.2-1 ${LUAROCKS_BUILDARGS}
|
||||||
DEPENDS mpack)
|
DEPENDS mpack)
|
||||||
add_custom_target(lpeg
|
add_custom_target(lpeg
|
||||||
DEPENDS ${HOSTDEPS_LIB_DIR}/luarocks/rocks/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.
|
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
||||||
add_custom_command(OUTPUT ${BUSTED_EXE}
|
add_custom_command(OUTPUT ${BUSTED_EXE}
|
||||||
COMMAND ${LUAROCKS_BINARY}
|
COMMAND ${LUAROCKS_BINARY}
|
||||||
ARGS build busted 2.0.rc12-1 ${LUAROCKS_BUILDARGS}
|
ARGS build busted 2.0.rc13-0 ${LUAROCKS_BUILDARGS}
|
||||||
DEPENDS penlight)
|
DEPENDS penlight)
|
||||||
add_custom_target(busted
|
add_custom_target(busted
|
||||||
DEPENDS ${BUSTED_EXE})
|
DEPENDS ${BUSTED_EXE})
|
||||||
|
@ -182,7 +182,7 @@ if(USE_BUNDLED_BUSTED)
|
||||||
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
# DEPENDS on the previous module, because Luarocks breaks if parallel.
|
||||||
add_custom_command(OUTPUT ${LUACHECK_EXE}
|
add_custom_command(OUTPUT ${LUACHECK_EXE}
|
||||||
COMMAND ${LUAROCKS_BINARY}
|
COMMAND ${LUAROCKS_BINARY}
|
||||||
ARGS build luacheck 0.21.2-1 ${LUAROCKS_BUILDARGS}
|
ARGS build luacheck 0.23.0-1 ${LUAROCKS_BUILDARGS}
|
||||||
DEPENDS busted)
|
DEPENDS busted)
|
||||||
add_custom_target(luacheck
|
add_custom_target(luacheck
|
||||||
DEPENDS ${LUACHECK_EXE})
|
DEPENDS ${LUACHECK_EXE})
|
||||||
|
|
Loading…
Reference in New Issue