Add smoke test with engine using Docker

This commit is contained in:
sfan5
2024-08-16 17:10:25 +02:00
parent 096df65cc6
commit ff87cf3162
5 changed files with 72 additions and 4 deletions

View File

@ -123,3 +123,11 @@ dofile(minetest.get_modpath("mesecons").."/legacy.lua");
--Services like turnoff receptor on dignode and so on
dofile(minetest.get_modpath("mesecons").."/services.lua");
-- Automated test run
if mesecon.setting("internal_test", false) then
-- currently does nothing, we only fail if some error happens right on startup
minetest.after(5, function()
minetest.request_shutdown()
end)
end