change log match to line match in tcl sanitizer_errors_from_file. (#12446)
In the tcl foreach loop, the function should compare line rather than the whole file.
This commit is contained in:
parent
42985b00ea
commit
6abb3c4038
@ -62,8 +62,8 @@ proc sanitizer_errors_from_file {filename} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# GCC UBSAN output does not contain 'Sanitizer' but 'runtime error'.
|
# GCC UBSAN output does not contain 'Sanitizer' but 'runtime error'.
|
||||||
if {[string match {*runtime error*} $log] ||
|
if {[string match {*runtime error*} $line] ||
|
||||||
[string match {*Sanitizer*} $log]} {
|
[string match {*Sanitizer*} $line]} {
|
||||||
return $log
|
return $log
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user