]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* g++.dg/dg.exp: Run tests from subdirectories other than "special".
authorJason Merrill <jason@gcc.gnu.org>
Tue, 24 Jul 2001 15:06:50 +0000 (11:06 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Jul 2001 15:06:50 +0000 (11:06 -0400)
From-SVN: r44300

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

index d7f4e994c9f42cb2ea49c2ec10c8833dfffd6110..6667d672cfa100a8e08765a12256fdcc921af66a 100644 (file)
@@ -28,9 +28,13 @@ if ![info exists DEFAULT_CXXFLAGS] then {
 # Initialize `dg'.
 dg-init
 
+# Gather a list of all tests, excluding those in special/; those are handled
+# well, specially.
+set all [lsort [find $srcdir/$subdir *.C]]
+set tests [prune $all $srcdir/$subdir/special/*]
+
 # Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[CS\]]] \
-       "" $DEFAULT_CXXFLAGS
+dg-runtest $tests "" $DEFAULT_CXXFLAGS
 
 # All done.
 dg-finish