Ensure that Lua test runner always exits

develop
lethosor 2020-03-26 23:33:39 -04:00
parent 2e352408c2
commit c6d2407f2c
1 changed files with 3 additions and 3 deletions

@ -207,8 +207,8 @@ function main()
print(('%d/%d tests passed'):format(counts.tests_ok, counts.tests))
print(('%d/%d checks passed'):format(counts.checks_ok, counts.checks))
print(('%d test files failed to load'):format(counts.file_errors))
finish_tests()
end
script.start(main)
script.start(function()
dfhack.with_finalize(finish_tests, main)
end)