diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-07-28 16:20:41 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-08-04 11:16:39 +0100 |
commit | bb57e4c7bd1d27c45195efd0b7a612bac831d2df (patch) | |
tree | 0e7ac9ff8c658aa9a62fac6a3150e0d11edd2d87 /bfd/coff-bfd.h | |
parent | 0a61824343c98b9440fe13752f800d65f765c4c1 (diff) | |
download | gdb-bb57e4c7bd1d27c45195efd0b7a612bac831d2df.zip gdb-bb57e4c7bd1d27c45195efd0b7a612bac831d2df.tar.gz gdb-bb57e4c7bd1d27c45195efd0b7a612bac831d2df.tar.bz2 |
ld: Add file based error/warning regexp for run_dump_test.
The run_dump_test mechanism supports options error and warning, which
allow regexp to be specified within the test file, these regexp are
matched against the stderr output from the linker.
Similar dump test style functions for gas and gdb also support file
based matching versions of these options; the patterns are placed into a
file which the test driver then references. It is sometimes clearer,
when the pattern to be matched spans multiple lines if the patterns can
be placed into a separate file.
This patch adds new options error_output and warning_output for the
linker run_dump_test function. These new options take a filename
parameter, this file is then used (with regexp_diff) to compare against
the linker output.
ld/testsuite/ChangeLog:
* ld/ld-lib.exp (run_dump_test): Add error_output and
warning_output options.
Diffstat (limited to 'bfd/coff-bfd.h')
0 files changed, 0 insertions, 0 deletions