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

Matthieu Longo matthieu.longo@arm.com
Thu Jun 27 13:50:17 GMT 2024


gas generates an information diagnostic message for every context
invoking a macro and generating a warning or error message.
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/advsimd-fp8-fail.d  |   2 +-
 gas/testsuite/gas/aarch64/advsimd-fp8-fail.l  | 112 ---
 .../gas/aarch64/illegal-by-element.d          |   2 +-
 .../gas/aarch64/illegal-by-element.l          | 132 ---
 gas/testsuite/gas/aarch64/illegal-ldapr.d     |   2 +-
 gas/testsuite/gas/aarch64/illegal-ldapr.l     |  12 -
 gas/testsuite/gas/aarch64/illegal-lse.d       |   2 +-
 gas/testsuite/gas/aarch64/illegal-lse.l       | 784 ------------------
 gas/testsuite/gas/aarch64/illegal.d           |   2 +-
 gas/testsuite/gas/aarch64/illegal.l           | 300 -------
 gas/testsuite/gas/aarch64/sme2-fp8-fail.d     |   2 +-
 gas/testsuite/gas/aarch64/sme2-fp8-fail.l     | 136 ---
 gas/testsuite/gas/aarch64/sve-movprfx_23.d    |   2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_23.l    |  20 -
 gas/testsuite/gas/aarch64/sve-movprfx_26.d    |   2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_26.l    |  13 -
 gas/testsuite/gas/aarch64/sve2-fp8-fail.d     |   2 +-
 gas/testsuite/gas/aarch64/sve2-fp8-fail.l     |  80 --
 .../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 -
 26 files changed, 14 insertions(+), 2086 deletions(-)

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


More information about the Binutils mailing list