diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 187cc6bc5c8..f89a29a9c98 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-03-14 Thomas Preud'homme + + * lib/scanasm.exp (scan-assembler-times): Move FAIL debug info into a + separate verbose message. + * lib/scandump.exp (scan-dump-times): Likewise. + 2018-03-14 Julia Koval * g++.dg/ext/mv16.C: Split up icelake on icelake client and icelake diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index 3a775b0a812..61e0f3f48ae 100644 --- a/gcc/testsuite/lib/scanasm.exp +++ b/gcc/testsuite/lib/scanasm.exp @@ -266,7 +266,8 @@ proc scan-assembler-times { args } { if {$result_count == $times} { pass "$testcase scan-assembler-times $pp_pattern $times" } else { - fail "$testcase scan-assembler-times $pp_pattern $times (found $result_count times)" + verbose -log "$testcase: $pp_pattern found $result_count times" + fail "$testcase scan-assembler-times $pp_pattern $times" } } diff --git a/gcc/testsuite/lib/scandump.exp b/gcc/testsuite/lib/scandump.exp index 4e3da972ae4..be8fbe8b461 100644 --- a/gcc/testsuite/lib/scandump.exp +++ b/gcc/testsuite/lib/scandump.exp @@ -110,7 +110,8 @@ proc scan-dump-times { args } { if {$result_count == $times} { pass "$testname" } else { - fail "$testname (found $result_count times)" + verbose -log "$testcase: pattern found $result_count times" + fail "$testname" } }