diff options
Diffstat (limited to '')
| -rwxr-xr-x | tests/test.lua | 8 |
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 }) |
| 246 | end | 246 | end |
| 247 | 247 | ||
| 248 | local pass, total = run_test_summary() | ||
| 249 | |||
| 250 | print(string.format("==> Summary: %d/%d tests succeeded", pass, total)) | ||
| 251 | |||
| 252 | if pass ~= total then | ||
| 253 | os.exit(1) | ||
| 254 | end | ||
| 255 | |||
| 248 | -- vi:ai et sw=4 ts=4: | 256 | -- vi:ai et sw=4 ts=4: |
