Fossil SCM

Fix error exit level in tester.tcl

danshearer 2026-11-17 13:16 UTC test-suite-new
Commit 56969e1eacd94c552a24ceb00a570bdf826bd2011d1868cae4f73f00c1d58a7c
1 file changed +1 -1
+1 -1
--- test/tester.tcl
+++ test/tester.tcl
@@ -1243,8 +1243,8 @@
12431243
protOut "***** Skipped tests: [lmap s $skipped_tests {lindex $s 0}]" 1
12441244
foreach s $skipped_tests {
12451245
protOut "***** [lindex $s 0]: [lindex $s 1]" 1
12461246
}
12471247
}
1248
-if {$bad_test>0} {
1248
+if {[llength $bad_test]>0} {
12491249
exit 1
12501250
}
12511251
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button