OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / scripts / create_testsuite_files
index 6a3405f..a427eef 100755 (executable)
@@ -32,17 +32,17 @@ cd $srcdir
 # This is the ugly version of "everything but the current directory".  It's
 # what has to happen when find(1) doesn't support -mindepth, or -xtype.
 dlist=`echo [0-9][0-9]*`
-for d in [a-z]*; do
-  test -d $d && dlist="$dlist $d"
-done
-find $dlist "(" -type f -o -type l ")" -name "*.cc" -print | sort > $tmp.1
+dlist="$dlist abi backward ext performance tr1 tr2 decimal"
+find $dlist "(" -type f -o -type l ")" -name "*.cc" -print > $tmp.01
+find $dlist "(" -type f -o -type l ")" -name "*.c" -print > $tmp.02
+cat  $tmp.01 $tmp.02 | sort > $tmp.1
 if test ! -s "$tmp.1"; then
   exit 1
 fi
 
 # Now filter out classes of tests.  These classes are run using special rules.
-grep _xin $tmp.3 > $tests_file_inter
-grep -v _xin $tmp.3 > $tmp.4
+grep _xin $tmp.1 > $tests_file_inter
+grep -v _xin $tmp.1 > $tmp.4
 
 grep performance $tmp.4 > $tests_file_perf
 grep -v performance $tmp.4 > $tmp.5