1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Change the error messages so that they begin can be grepped using '^!' instead

of '^ '.  There are far too many extraneous outputs that being with a space.

FossilOrigin-Name: 367ec0db49607559960d58891771113c205fd951
This commit is contained in:
drh
2015-11-13 00:03:14 +00:00
parent 5e3cefe3d0
commit 061d35c145
3 changed files with 9 additions and 9 deletions

View File

@ -747,7 +747,7 @@ proc do_test {name cmd expected} {
# error "no test prefix"
# }
output1 ""
output2 " $name expected: \[$expected\]\n $name got: \[$result\]"
output2 "! $name expected: \[$expected\]\n! $name got: \[$result\]"
fail_test $name
} else {
output1 " Ok"
@ -1031,7 +1031,7 @@ proc finalize_testing {} {
output2 "$nErr errors out of $nTest tests"
}
if {$nErr>$nKnown} {
output2 -nonewline "Failures on these tests:"
output2 -nonewline "!Failures on these tests:"
foreach x [set_test_counter fail_list] {
if {![info exists known_error($x)]} {output2 -nonewline " $x"}
}