diff mbox

[C++] fix test breakage

Message ID ba8824f0-dfdd-a514-4d90-82ef894e147b@acm.org
State New
Headers show

Commit Message

Nathan Sidwell April 25, 2017, 10:17 p.m. UTC
I've committed this patch to remove the TCL 8.5ism of {*}[returns-a-list].

I recall now seeing that 8.5 was released 10 years ago, so thought it'd 
be ok.  Sadly not :(

nathan
diff mbox

Patch

2017-04-25  Nathan Sidwell  <nathan@acm.org>

	* g++.dg/dg.exp (find-cxx-tests): Remove TCL 8.5-ism.

Index: g++.dg/dg.exp
===================================================================
--- g++.dg/dg.exp	(revision 247268)
+++ g++.dg/dg.exp	(working copy)
@@ -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