aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-07-24 11:06:50 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-07-24 11:06:50 -0400
commitf8b529aa0a7a54c178fdc13b2033ee14a4b69c73 (patch)
treee6151a1f3b372b9ba97608ebf651b24960ebbedd /gcc
parentc9342257912ee2e7663e575cc1f81b8ee4877546 (diff)
downloadgcc-f8b529aa0a7a54c178fdc13b2033ee14a4b69c73.zip
gcc-f8b529aa0a7a54c178fdc13b2033ee14a4b69c73.tar.gz
gcc-f8b529aa0a7a54c178fdc13b2033ee14a4b69c73.tar.bz2
* g++.dg/dg.exp: Run tests from subdirectories other than "special".
From-SVN: r44300
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/dg.exp8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
index d7f4e99..6667d67 100644
--- a/gcc/testsuite/g++.dg/dg.exp
+++ b/gcc/testsuite/g++.dg/dg.exp
@@ -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