From: Dave Korn Date: Wed, 20 May 2009 13:40:38 +0000 (+0000) Subject: * lib/ld-lib.exp (run_ld_link_tests): Filter test names against X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eca41774ed42348bcea54dce730cc4b7ea47d9c6;p=binutils-gdb.git * lib/ld-lib.exp (run_ld_link_tests): Filter test names against runtests list. --- 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]