return an errorcode if testsuite fails

This commit is contained in:
M. Skibbe 2014-02-27 13:37:46 +01:00
parent 0af9660606
commit 67877ab787

View File

@ -228,8 +228,8 @@
msg = string.format("%d tests passed, %d failed", passed, failed)
if (failed > 0) then
-- should probably return an error code here somehow
print(msg)
os.exit(5)
else
print(msg)
end