CMakeLists.txt
changeset 9988 317d46a2afd2
parent 9965 7ced30acf533
child 9991 3858d99476f5
equal deleted inserted replaced
9987:8f07b47a641b 9988:317d46a2afd2
   202 endif()
   202 endif()
   203 
   203 
   204 
   204 
   205 include(${CMAKE_MODULE_PATH}/cpackvars.cmake)
   205 include(${CMAKE_MODULE_PATH}/cpackvars.cmake)
   206 
   206 
       
   207 enable_testing()
       
   208 
       
   209 set(LUATESTS "${CMAKE_SOURCE_DIR}/tests/lua")
       
   210 set(LUAAPITESTS "${LUATESTS}/luaAPI")
       
   211 set(TESTSDATADIR "${CMAKE_SOURCE_DIR}/share/hedgewars/Data")
       
   212 
       
   213 add_test("LuaAPI:GetZoom/SetZoom" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--lua-test" "${LUATESTS}/luaAPI/zoom_get_set.lua")