aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ChangeLog
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2015-07-28 16:20:41 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2015-08-04 11:16:39 +0100
commitbb57e4c7bd1d27c45195efd0b7a612bac831d2df (patch)
tree0e7ac9ff8c658aa9a62fac6a3150e0d11edd2d87 /ld/testsuite/ChangeLog
parent0a61824343c98b9440fe13752f800d65f765c4c1 (diff)
downloadgdb-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 'ld/testsuite/ChangeLog')
-rw-r--r--ld/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 512abc3..aaecbeb 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
+ * ld/ld-lib.exp (run_dump_test): Add error_output and
+ warning_output options.
+
+2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
* ld-undefined/require-defined-1.d: New file.
* ld-undefined/require-defined-2.d: New file.
* ld-undefined/require-defined-3.d: New file.