Fix the releasetest.tcl script so that it ignore cast overflow errors that

recent versions of clang generate but which are unavoidable given the test
input.

FossilOrigin-Name: a0020c57859fd452a2b5c943f9c5cf5ec6f997e3
This commit is contained in:
drh
2015-07-29 20:24:39 +00:00
parent 6a8d08bc55
commit 36c25f7686
3 changed files with 16 additions and 14 deletions
+9 -4
View File
@@ -310,10 +310,15 @@ proc count_tests_and_errors {logfile rcVar errmsgVar} {
}
}
if {[regexp {runtime error: +(.*)} $line all msg]} {
incr ::NERRCASE
if {$rc==0} {
set rc 1
set errmsg $msg
# skip over "value is outside range" errors
if {[regexp {value .* is outside the range of representable} $line]} {
# noop
} else {
incr ::NERRCASE
if {$rc==0} {
set rc 1
set errmsg $msg
}
}
}
if {[regexp {fatal error +(.*)} $line all msg]} {