aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-09-30 15:10:23 +0530
committersinanmohd <sinan@sinanmohd.com>2023-09-30 15:10:23 +0530
commit8504585b962e7ec467c7315af2e6d93a9325c4f9 (patch)
tree83deab0c0582a5c839d646022d429700ed07a0fe
parent05a9be65f8e0d97fd36711acfe5d626e316722ae (diff)
tests: exit with non zero status on failure
-rwxr-xr-xtests.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests.lua b/tests.lua
index feadb75..d6ad81d 100755
--- a/tests.lua
+++ b/tests.lua
@@ -33,4 +33,6 @@ test_subscene()
if errs == 0 then
print('ok: all tests ran successfully')
+else
+ os.exit(false)
end