mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 22:11:33 +00:00
exit with non-zero status when there are failed tests
This commit is contained in:
@ -83,12 +83,12 @@ proc main {} {
|
||||
execute_tests "unit/expire"
|
||||
execute_tests "unit/other"
|
||||
|
||||
cleanup
|
||||
puts "\n[expr $::passed+$::failed] tests, $::passed passed, $::failed failed"
|
||||
if {$::failed > 0} {
|
||||
puts "\n*** WARNING!!! $::failed FAILED TESTS ***\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
cleanup
|
||||
}
|
||||
|
||||
# parse arguments
|
||||
|
Reference in New Issue
Block a user