[PATCH v2 3/3] aarch64: testsuite: remove macro expansion messages from expected error output

Matthieu Longo matthieu.longo@arm.com
Thu Jul 4 15:51:45 GMT 2024


gas generates an information diagnostic message for every context
invoking a macro and generating a warning or error message.
For the specific case of sysreg tests, this pollutes the expected
error output for no benefit in term of test debug or testing coverage.

This patch aims at stopping such diagnostic messages to be generated
for the failure tests by providing --no-info flag to gas.
It also removed from the expected outputs the information messages
related to macro expansions.
---
 gas/testsuite/gas/aarch64/sve-movprfx_26.d    |   2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_26.l    |  13 -
 .../aarch64/sysreg/armv8_9-a-sysregs-bad.d    |   2 +-
 .../aarch64/sysreg/armv8_9-a-sysregs-bad.l    | 250 +-----------------
 .../gas/aarch64/sysreg/illegal-sysreg-3.d     |   2 +-
 .../gas/aarch64/sysreg/illegal-sysreg-3.l     |  20 --
 .../gas/aarch64/sysreg/illegal-sysreg-8.d     |   1 +
 .../gas/aarch64/sysreg/illegal-sysreg-8.l     | 188 -------------
 .../gas/aarch64/sysreg/illegal-sysreg-8b.d    |   1 +
 .../gas/aarch64/sysreg/illegal-sysreg-8b.l    |  29 --
 10 files changed, 6 insertions(+), 502 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0003-aarch64-testsuite-remove-macro-expansion-messages.patch
Type: text/x-patch
Size: 62640 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240704/88339ae2/attachment-0001.bin>


More information about the Binutils mailing list