aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-05-20 13:40:38 +0000
committerDave Korn <dave.korn@artimi.com>2009-05-20 13:40:38 +0000
commiteca41774ed42348bcea54dce730cc4b7ea47d9c6 (patch)
tree69334ef8d16d56a15ce9ae1c5556c94dd065ffb9 /ld/testsuite/lib
parent92a610f322ad1cc7f1c48f9979496d2b7206745a (diff)
downloadgdb-eca41774ed42348bcea54dce730cc4b7ea47d9c6.zip
gdb-eca41774ed42348bcea54dce730cc4b7ea47d9c6.tar.gz
gdb-eca41774ed42348bcea54dce730cc4b7ea47d9c6.tar.bz2
* lib/ld-lib.exp (run_ld_link_tests): Filter test names against
runtests list.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r--ld/testsuite/lib/ld-lib.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index c90ef44..e11753d 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1132,9 +1132,15 @@ proc run_ld_link_tests { ldtests } {
global env
global CC
global CFLAGS
+ global runtests
foreach testitem $ldtests {
set testname [lindex $testitem 0]
+
+ if ![runtest_file_p $runtests $testname] then {
+ continue
+ }
+
set ld_options [lindex $testitem 1]
set as_options [lindex $testitem 2]
set src_files [lindex $testitem 3]