Fossil SCM
When testing, indicate that there was failures using exit code 1.
Commit
d92c23d700c8f00642ff9b89e684fd3e83508358311afb22b5bae42b3e8cb7e9
Parent
200247bc62f03ca…
1 file changed
+3
+3
| --- test/tester.tcl | ||
| +++ test/tester.tcl | ||
| @@ -1107,6 +1107,9 @@ | ||
| 1107 | 1107 | if {$nErr>0 || !$::QUIET} { |
| 1108 | 1108 | protOut "***** Ignored results: $nErr ignored errors out of $test_count tests" 1 |
| 1109 | 1109 | } |
| 1110 | 1110 | if {$nErr>0} { |
| 1111 | 1111 | protOut "***** Ignored failures: $ignored_test" 1 |
| 1112 | +} | |
| 1113 | +if {$bad_test>0} { | |
| 1114 | + exit 1 | |
| 1112 | 1115 | } |
| 1113 | 1116 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -1107,6 +1107,9 @@ | |
| 1107 | if {$nErr>0 || !$::QUIET} { |
| 1108 | protOut "***** Ignored results: $nErr ignored errors out of $test_count tests" 1 |
| 1109 | } |
| 1110 | if {$nErr>0} { |
| 1111 | protOut "***** Ignored failures: $ignored_test" 1 |
| 1112 | } |
| 1113 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -1107,6 +1107,9 @@ | |
| 1107 | if {$nErr>0 || !$::QUIET} { |
| 1108 | protOut "***** Ignored results: $nErr ignored errors out of $test_count tests" 1 |
| 1109 | } |
| 1110 | if {$nErr>0} { |
| 1111 | protOut "***** Ignored failures: $ignored_test" 1 |
| 1112 | } |
| 1113 | if {$bad_test>0} { |
| 1114 | exit 1 |
| 1115 | } |
| 1116 |