From 2fd6e3582475ebd776796e83ce91f4cbd9ef5853 Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 24 Jul 2001 15:06:50 +0000 Subject: [PATCH] * g++.dg/dg.exp: Run tests from subdirectories other than "special". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44300 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.dg/dg.exp | 8 ++++++-- 1 file 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 -- 2.7.4