From 67877ab7875773cdef119bde24714f8fdf3a37fc Mon Sep 17 00:00:00 2001 From: "M. Skibbe" Date: Thu, 27 Feb 2014 13:37:46 +0100 Subject: [PATCH] return an errorcode if testsuite fails --- tests/premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/premake5.lua b/tests/premake5.lua index 2ba81e48..0cfcec50 100644 --- a/tests/premake5.lua +++ b/tests/premake5.lua @@ -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