diff options
Diffstat (limited to '')
| -rwxr-xr-x | tests/test.lua | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/tests/test.lua b/tests/test.lua index 6a1a8a2..bb696a2 100755 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -247,9 +247,10 @@ end | |||
| 247 | 247 | ||
| 248 | local pass, total = run_test_summary() | 248 | local pass, total = run_test_summary() | 
| 249 | 249 | ||
| 250 | print(string.format("==> Summary: %d/%d tests failed", total - pass, total)) | 250 | if pass == total then | 
| 251 | 251 | print("==> Summary: all tests succeeded") | |
| 252 | if pass ~= total then | 252 | else | 
| 253 | print(string.format("==> Summary: %d/%d tests failed", total - pass, total)) | ||
| 253 | os.exit(1) | 254 | os.exit(1) | 
| 254 | end | 255 | end | 
| 255 | 256 | ||
