summaryrefslogtreecommitdiff
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
commit3b61172324b9d284f12bf51c7537a4778df73ee4 (patch)
tree035b79f6cfe51df485b16bd7dc941cd10dc4585d /ld/testsuite/lib
parent410df1b35eb94a2b52f52321a438ab298345724c (diff)
downloadbinutils-redhat-3b61172324b9d284f12bf51c7537a4778df73ee4.tar.gz
* 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 c90ef449cb..e11753de3f 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]