From eca41774ed42348bcea54dce730cc4b7ea47d9c6 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Wed, 20 May 2009 13:40:38 +0000 Subject: [PATCH] * lib/ld-lib.exp (run_ld_link_tests): Filter test names against runtests list. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/lib/ld-lib.exp | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index db9fe11a330..2c26f087ae0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-05-20 Dave Korn + + * lib/ld-lib.exp (run_ld_link_tests): Filter test names against + runtests list. + 2009-05-19 Dave Korn * 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 c90ef449cb3..e11753de3f3 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] -- 2.30.2