aboutsummaryrefslogtreecommitdiff
path: root/tests/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.lua')
-rwxr-xr-xtests/test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua
index b7b50d2..90d216c 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -245,4 +245,12 @@ for i = 1, #arg do
245 true, { true }) 245 true, { true })
246end 246end
247 247
248local pass, total = run_test_summary()
249
250print(string.format("==> Summary: %d/%d tests succeeded", pass, total))
251
252if pass ~= total then
253 os.exit(1)
254end
255
248-- vi:ai et sw=4 ts=4: 256-- vi:ai et sw=4 ts=4: