CMakeLists.txt
changeset 10028 9e742fc72696
parent 10026 14a3f7feeb39
child 10029 3b3d3e465e6a
equal deleted inserted replaced
10026:14a3f7feeb39 10028:9e742fc72696
   213 
   213 
   214 set(LUATESTS "${CMAKE_SOURCE_DIR}/tests/lua")
   214 set(LUATESTS "${CMAKE_SOURCE_DIR}/tests/lua")
   215 set(LUAAPITESTS "${LUATESTS}/luaAPI")
   215 set(LUAAPITESTS "${LUATESTS}/luaAPI")
   216 set(TESTSDATADIR "${CMAKE_SOURCE_DIR}/share/hedgewars/Data")
   216 set(TESTSDATADIR "${CMAKE_SOURCE_DIR}/share/hedgewars/Data")
   217 
   217 
   218 add_test("LuaAPI:GetZoom/SetZoom" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--nosound" "--lua-test" "${LUAAPITESTS}/zoom_get_set.lua")
   218 
   219 add_test("DrillRockets_drill" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--nosound" "--lua-test" "${LUATESTS}/drillrockets_drill.lua")
   219 add_test("LuaAPI:GetZoom/SetZoom" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--nosound" "--nomusic" "--lua-test" "${LUAAPITESTS}/zoom_get_set.lua")
       
   220 
       
   221 # set set this to "" if you want to see what's going on
       
   222 set(STATSONLYFLAG "--stats-only")
       
   223 add_test("DrillRockets_drill" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--nosound" "--nomusic" ${STATSONLYFLAG} "--lua-test" "${LUATESTS}/drillrockets_drill.lua")
       
   224 add_test("DrillRockets_boom" "bin/hwengine" "--prefix" "${TESTSDATADIR}" "--nosound" "--nomusic" ${STATSONLYFLAG} "--lua-test" "${LUATESTS}/drillrockets_boom.lua")