Fossil SCM
Fix error exit level in tester.tcl
Commit
56969e1eacd94c552a24ceb00a570bdf826bd2011d1868cae4f73f00c1d58a7c
Parent
7654c67631d7ce7…
1 file changed
+1
-1
+1
-1
| --- test/tester.tcl | ||
| +++ test/tester.tcl | ||
| @@ -1243,8 +1243,8 @@ | ||
| 1243 | 1243 | protOut "***** Skipped tests: [lmap s $skipped_tests {lindex $s 0}]" 1 |
| 1244 | 1244 | foreach s $skipped_tests { |
| 1245 | 1245 | protOut "***** [lindex $s 0]: [lindex $s 1]" 1 |
| 1246 | 1246 | } |
| 1247 | 1247 | } |
| 1248 | -if {$bad_test>0} { | |
| 1248 | +if {[llength $bad_test]>0} { | |
| 1249 | 1249 | exit 1 |
| 1250 | 1250 | } |
| 1251 | 1251 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -1243,8 +1243,8 @@ | |
| 1243 | protOut "***** Skipped tests: [lmap s $skipped_tests {lindex $s 0}]" 1 |
| 1244 | foreach s $skipped_tests { |
| 1245 | protOut "***** [lindex $s 0]: [lindex $s 1]" 1 |
| 1246 | } |
| 1247 | } |
| 1248 | if {$bad_test>0} { |
| 1249 | exit 1 |
| 1250 | } |
| 1251 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -1243,8 +1243,8 @@ | |
| 1243 | protOut "***** Skipped tests: [lmap s $skipped_tests {lindex $s 0}]" 1 |
| 1244 | foreach s $skipped_tests { |
| 1245 | protOut "***** [lindex $s 0]: [lindex $s 1]" 1 |
| 1246 | } |
| 1247 | } |
| 1248 | if {[llength $bad_test]>0} { |
| 1249 | exit 1 |
| 1250 | } |
| 1251 |