* lib/ld-lib.exp (run_ld_link_tests): Filter test names against
authorDave Korn <dave.korn@artimi.com>
Wed, 20 May 2009 13:40:38 +0000 (13:40 +0000)
committerDave Korn <dave.korn@artimi.com>
Wed, 20 May 2009 13:40:38 +0000 (13:40 +0000)
runtests list.

ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp

index db9fe11a330604c30d54f87265cd9c0746a75208..2c26f087ae048bb8c15d487a02a284da9f246168 100644 (file)
@@ -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.
index c90ef449cb3e2326194bf7482032316dbe228127..e11753de3f3223934d6ab124766c9c9dfcb8c6a6 100644 (file)
@@ -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]