Commit 0f70486e by Richard Sandiford Committed by Richard Sandiford

asan-dg.exp (asan-gtest): Remove expected output from the pass/fail line and add…

asan-dg.exp (asan-gtest): Remove expected output from the pass/fail line and add it to the log instead.

gcc/testsuite/
	* lib/asan-dg.exp (asan-gtest): Remove expected output from the
	pass/fail line and add it to the log instead.

From-SVN: r205799
parent 11c3e436
2013-12-09 Richard Sandiford <rdsandiford@googlemail.com>
* lib/asan-dg.exp (asan-gtest): Remove expected output from the
pass/fail line and add it to the log instead.
2013-12-08 Oleg Endo <olegendo@gcc.gnu.org> 2013-12-08 Oleg Endo <olegendo@gcc.gnu.org>
PR target/52898 PR target/52898
......
...@@ -288,9 +288,10 @@ proc asan-gtest { args } { ...@@ -288,9 +288,10 @@ proc asan-gtest { args } {
if { "$status" == "fail" } { if { "$status" == "fail" } {
pass "$testname execution test" pass "$testname execution test"
if { ![regexp $regexpr ${output}] } { if { ![regexp $regexpr ${output}] } {
fail "$testname output pattern test, should match $regexpr" fail "$testname output pattern test"
send_log "Output should match: $regexpr\n"
} else { } else {
pass "$testname output pattern test, $regexpr" pass "$testname output pattern test"
} }
} elseif { "$status" == "pass" } { } elseif { "$status" == "pass" } {
fail "$testname execution test" fail "$testname execution test"
......
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