From: Jason Merrill Date: Tue, 24 Jul 2001 15:06:50 +0000 (-0400) Subject: * g++.dg/dg.exp: Run tests from subdirectories other than "special". X-Git-Tag: prereleases/libstdc++-3.0.95~3087 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b529aa0a7a54c178fdc13b2033ee14a4b69c73;p=thirdparty%2Fgcc.git * g++.dg/dg.exp: Run tests from subdirectories other than "special". From-SVN: r44300 --- diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp index d7f4e994c9f4..6667d672cfa1 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