forked from github/server
fix test runner
This commit is contained in:
parent
b839fcc5c9
commit
91eead0993
|
@ -3,4 +3,4 @@ if config.paths ~= nil then
|
||||||
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print(package.path)
|
-- print(package.path)
|
||||||
|
|
|
@ -174,16 +174,12 @@ target_link_libraries(test_eressea
|
||||||
)
|
)
|
||||||
|
|
||||||
add_test(server test_eressea)
|
add_test(server test_eressea)
|
||||||
add_test(
|
#add_test(NAME E3
|
||||||
NAME E3
|
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e3
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e3
|
# COMMAND $<TARGET_FILE:eressea> runtests.lua )
|
||||||
COMMAND $<TARGET_FILE:eressea> runtests.lua
|
#add_test(NAME E2
|
||||||
)
|
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e2
|
||||||
add_test(
|
# COMMAND $<TARGET_FILE:eressea> runtests.lua )
|
||||||
NAME E2
|
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e2
|
|
||||||
COMMAND $<TARGET_FILE:eressea> runtests.lua
|
|
||||||
)
|
|
||||||
|
|
||||||
install(TARGETS eressea DESTINATION "bin")
|
install(TARGETS eressea DESTINATION "bin")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue