equal
deleted
inserted
replaced
228 add_subdirectory(tools) |
228 add_subdirectory(tools) |
229 endif(ANDROID) |
229 endif(ANDROID) |
230 |
230 |
231 include(${CMAKE_MODULE_PATH}/cpackvars.cmake) |
231 include(${CMAKE_MODULE_PATH}/cpackvars.cmake) |
232 |
232 |
233 if(NOT BUILD_ENGINE_C) |
|
234 enable_testing() |
233 enable_testing() |
235 endif(NOT BUILD_ENGINE_C) |
234 |
236 add_custom_target(test COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random) |
235 add_custom_target(test COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random) |
237 add_custom_target(test_verbose COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random -V) |
236 add_custom_target(test_verbose COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random -V) |
238 |
237 |
239 set(LUATESTS_DIR "${CMAKE_SOURCE_DIR}/tests/lua") |
238 set(LUATESTS_DIR "${CMAKE_SOURCE_DIR}/tests/lua") |
240 set(TESTSDATA_DIR "${CMAKE_SOURCE_DIR}/share/hedgewars/Data") |
239 set(TESTSDATA_DIR "${CMAKE_SOURCE_DIR}/share/hedgewars/Data") |