ld: Find and run some tests using a wildcard pattern
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 27 Apr 2017 16:53:28 +0000 (17:53 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 11 Jan 2018 17:35:34 +0000 (17:35 +0000)
commit8be965c5f058f79554ec3376afac994e6e3ad1b7
tree35f5dcad9a5a337213971e5a2f4aa424da3d172e
parentb3b9f8d3e99cf46c2f85445cc5189db4c4f47407
ld: Find and run some tests using a wildcard pattern

Find the ld-script/provide-*.d tests using a wildcard, then run them in
a loop.  This will make it easier to add more tests in the future.  Some
associated clean up is required.

ld/ChangeLog:

* testsuite/ld-scripts/provide-3.d: Add xfail directive.
* testsuite/ld-scripts/provide-4.d: Use new map file name.
* testsuite/ld-scripts/provide-5.d: Use new map file name.
* testsuite/ld-scripts/provide-4-map.d: Renamed to...
* testsuite/ld-scripts/provide-4.map: ...this.
* testsuite/ld-scripts/provide-5-map.d: Renamed to...
* testsuite/ld-scripts/provide-5.map: ...this.
* testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
file, and run tests in a loop.
ld/ChangeLog
ld/testsuite/ld-scripts/provide-3.d
ld/testsuite/ld-scripts/provide-4-map.d [deleted file]
ld/testsuite/ld-scripts/provide-4.d
ld/testsuite/ld-scripts/provide-4.map [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-5-map.d [deleted file]
ld/testsuite/ld-scripts/provide-5.d
ld/testsuite/ld-scripts/provide-5.map [new file with mode: 0644]
ld/testsuite/ld-scripts/provide.exp