Browse Source
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.binutils-2_30-branch
7 changed files with 21 additions and 8 deletions
@ -1,3 +1,4 @@ |
|||
#source: provide-3.s |
|||
#ld: -T provide-3.t |
|||
#error: symbol defined in linker script and object file |
|||
#xfail: "*-*-*" |
|||
|
|||
@ -1,6 +1,6 @@ |
|||
#source: provide-5.s |
|||
#ld: -T provide-5.t |
|||
#PROG: nm |
|||
#map: provide-5-map.d |
|||
#map: provide-5.map |
|||
#... |
|||
0+10 A foo |
|||
|
|||
Loading…
Reference in new issue