From: Richard Sandiford Date: Mon, 9 Dec 2013 08:04:57 +0000 (+0000) Subject: asan-dg.exp (asan-gtest): Remove expected output from the pass/fail line and add... X-Git-Tag: releases/gcc-4.9.0~2205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f70486ec2319eab57a6acb890050aac7b215fb4;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9acf500147b0..ccf365017ea8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-12-09 Richard Sandiford + + * 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 PR target/52898 diff --git a/gcc/testsuite/lib/asan-dg.exp b/gcc/testsuite/lib/asan-dg.exp index 8990677d51e1..ca8e8132e6e1 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"