2017-04-25 Nathan Sidwell <nathan@acm.org>
* g++.dg/dg.exp (find-cxx-tests): Remove TCL 8.5-ism.
===================================================================
@@ -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