Fix FAIL display for some scan-*-times directives
commitb40d5d89b76010ec1639c0083979ab86500dfc37
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2018 10:47:32 +0000 (14 10:47 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2018 10:47:32 +0000 (14 10:47 +0000)
tree1def88f356c5d4c852c23c96789c099be6ffc9ba
parent8e9da9da379c1d092022b097027a3b5363eeeb06
Fix FAIL display for some scan-*-times directives

scan-assembler-times and scan-tree-dump-times dejagnu directives show a
different output in the summary files depending on whether they PASS or
FAIL. This means that dg-cmp-results would not show a regression because
it would not see a connection between the two output.

The difference comes from the FAIL showing the number of actual times
the pattern was match, presumably to help debugging. This patch moves
the info regarding the actual number of times the pattern match in a
separate verbose message. This keeps the message unchanged but let
developers have the required debug message with -v.

2018-03-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/testsuite/
    * lib/scanasm.exp (scan-assembler-times): Move FAIL debug info into a
    separate verbose message.
    * lib/scandump.exp (scan-dump-times): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258519 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanasm.exp
gcc/testsuite/lib/scandump.exp