Fossil SCM

When testing, indicate that there was failures using exit code 1.

preben 2023-11-17 17:31 trunk
Commit d92c23d700c8f00642ff9b89e684fd3e83508358311afb22b5bae42b3e8cb7e9
1 file changed +3
--- test/tester.tcl
+++ test/tester.tcl
@@ -1107,6 +1107,9 @@
11071107
if {$nErr>0 || !$::QUIET} {
11081108
protOut "***** Ignored results: $nErr ignored errors out of $test_count tests" 1
11091109
}
11101110
if {$nErr>0} {
11111111
protOut "***** Ignored failures: $ignored_test" 1
1112
+}
1113
+if {$bad_test>0} {
1114
+ exit 1
11121115
}
11131116
--- 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

Keyboard Shortcuts

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