* g++.dg/dg.exp (find-cxx-tests): Remove TCL 8.5-ism.
authorNathan Sidwell <nathan@acm.org>
Tue, 25 Apr 2017 22:14:55 +0000 (22:14 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 25 Apr 2017 22:14:55 +0000 (22:14 +0000)
From-SVN: r247269

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/dg.exp

index f6dfd5e..bdaccdc 100644 (file)
@@ -1,3 +1,7 @@
+2017-04-25  Nathan Sidwell  <nathan@acm.org>
+
+       * g++.dg/dg.exp (find-cxx-tests): Remove TCL 8.5-ism.
+
 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/70799
index 940213d..8222e38 100644 (file)
@@ -35,7 +35,7 @@ proc find-cxx-tests { dir suffix } {
     set tests [lsort [glob -nocomplain -directory $dir "*.$suffix" ]]
     foreach subdir [lsort [glob -nocomplain -type d -directory $dir *]] {
        if { [glob -nocomplain -directory $subdir *.exp] eq "" } {
-           lappend tests {*}[find-cxx-tests $subdir $suffix]
+           eval lappend tests [find-cxx-tests $subdir $suffix]
        }
     }
     return $tests