forked from github/server
fix test runner
This commit is contained in:
parent
921ab4947e
commit
1588d31a7e
|
@ -1,6 +1,5 @@
|
|||
[eressea]
|
||||
base = .
|
||||
load = setup.lua
|
||||
report = reports
|
||||
verbose = 0
|
||||
lomem = 0
|
||||
|
|
|
@ -152,7 +152,15 @@ target_link_libraries(test_eressea
|
|||
)
|
||||
|
||||
add_test(server test_eressea)
|
||||
add_test(NAME E3 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e3 COMMAND $<TARGET_FILE:eressea> -e run_tests)
|
||||
add_test(NAME E2 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e2 COMMAND $<TARGET_FILE:eressea> -e run_tests)
|
||||
add_test(
|
||||
NAME E3
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e3
|
||||
COMMAND $<TARGET_FILE:eressea> runtests.lua
|
||||
)
|
||||
add_test(
|
||||
NAME E2
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/game-e2
|
||||
COMMAND $<TARGET_FILE:eressea> runtests.lua
|
||||
)
|
||||
|
||||
install(TARGETS eressea DESTINATION bin)
|
||||
|
|
Loading…
Reference in New Issue