Commit 39926d04 authored by antirez's avatar antirez
Browse files

Merge remote branch 'pietern/test-exit-2.0.0' into 2.0.0

parents a29b8f58 7905331e
...@@ -83,12 +83,12 @@ proc main {} { ...@@ -83,12 +83,12 @@ proc main {} {
execute_tests "unit/expire" execute_tests "unit/expire"
execute_tests "unit/other" execute_tests "unit/other"
cleanup
puts "\n[expr $::passed+$::failed] tests, $::passed passed, $::failed failed" puts "\n[expr $::passed+$::failed] tests, $::passed passed, $::failed failed"
if {$::failed > 0} { if {$::failed > 0} {
puts "\n*** WARNING!!! $::failed FAILED TESTS ***\n" puts "\n*** WARNING!!! $::failed FAILED TESTS ***\n"
exit 1
} }
cleanup
} }
# parse arguments # parse arguments
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment