public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ PATCH] fix test breakage
@ 2017-04-26  3:56 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2017-04-26  3:56 UTC (permalink / raw)
  To: GCC Patches, David Edelsohn

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

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
-- 
Nathan Sidwell

[-- Attachment #2: tcl.diff --]
[-- Type: text/x-patch, Size: 666 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-25 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26  3:56 [C++ PATCH] fix test breakage Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).