aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp6
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index db9fe11..2c26f08 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-20 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * lib/ld-lib.exp (run_ld_link_tests): Filter test names against
+ runtests list.
+
2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
* ld-pe/aligncomm-1.c: New test source file.
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]