On Sun, Dec 08, 2013 at 10:31:56AM +0000, Richard Sandiford wrote: > --- gcc/testsuite/lib/asan-dg.exp (revision 205654) > +++ gcc/testsuite/lib/asan-dg.exp (working copy) > @@ -288,9 +288,10 @@ > 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 was:\n${output}\nShould > match:\n$regexpr\n"
Are you sure you need to print ${output}? At least looking at current g++.log or gcc.log file, it looks like the program's output is already there, so it is IMHO undesriable to print it there once again. Jakub