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.
From-SVN: r258519
+2018-03-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * 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 <julia.koval@intel.com>
* g++.dg/ext/mv16.C: Split up icelake on icelake client and icelake
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"
}
}
if {$result_count == $times} {
pass "$testname"
} else {
- fail "$testname (found $result_count times)"
+ verbose -log "$testcase: pattern found $result_count times"
+ fail "$testname"
}
}