Unverified Commit 6abb3c40 authored by DarrenJiang13's avatar DarrenJiang13 Committed by GitHub
Browse files

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.
parent 42985b00
......@@ -62,8 +62,8 @@ proc sanitizer_errors_from_file {filename} {
}
# GCC UBSAN output does not contain 'Sanitizer' but 'runtime error'.
if {[string match {*runtime error*} $log] ||
[string match {*Sanitizer*} $log]} {
if {[string match {*runtime error*} $line] ||
[string match {*Sanitizer*} $line]} {
return $log
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment