Merge pull request #1824 from mattsta/fix-test-error-signal

Add correct exit value to failed tests
This commit is contained in:
Salvatore Sanfilippo 2014-06-18 14:59:43 +02:00
commit 36bbfeef7b
2 changed files with 2 additions and 0 deletions

View File

@ -22,4 +22,5 @@ proc main {} {
if {[catch main e]} { if {[catch main e]} {
puts $::errorInfo puts $::errorInfo
cleanup cleanup
exit 1
} }

View File

@ -18,4 +18,5 @@ proc main {} {
if {[catch main e]} { if {[catch main e]} {
puts $::errorInfo puts $::errorInfo
cleanup cleanup
exit 1
} }