aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-12-09 08:04:57 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-12-09 08:04:57 +0000
commit0f70486ec2319eab57a6acb890050aac7b215fb4 (patch)
tree9594488fd3331bd1f74521f3cec23e9d9384fe6e
parent11c3e4361239dcf0e415f4cec01c7129536ed096 (diff)
downloadgcc-0f70486ec2319eab57a6acb890050aac7b215fb4.zip
gcc-0f70486ec2319eab57a6acb890050aac7b215fb4.tar.gz
gcc-0f70486ec2319eab57a6acb890050aac7b215fb4.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/asan-dg.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9acf500..ccf3650 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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>
PR target/52898
diff --git a/gcc/testsuite/lib/asan-dg.exp b/gcc/testsuite/lib/asan-dg.exp
index 8990677..ca8e813 100644
--- a/gcc/testsuite/lib/asan-dg.exp
+++ b/gcc/testsuite/lib/asan-dg.exp
@@ -288,9 +288,10 @@ proc asan-gtest { args } {
if { "$status" == "fail" } {
pass "$testname execution test"
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 {
- pass "$testname output pattern test, $regexpr"
+ pass "$testname output pattern test"
}
} elseif { "$status" == "pass" } {
fail "$testname execution test"