2004-05-25 Benjamin Kosnik PR libstdc++/15489 * scripts/create_testsuite_files: Revert xtype change, add non-GNU bits to do the same thing. Index: scripts/create_testsuite_files =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/scripts/create_testsuite_files,v retrieving revision 1.2 diff -c -p -r1.2 create_testsuite_files *** scripts/create_testsuite_files 18 May 2004 18:42:27 -0000 1.2 --- scripts/create_testsuite_files 25 May 2004 17:03:07 -0000 *************** tests_file_perf="$outdir/testsuite_files *** 30,41 **** 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. dlist=`echo [0-9][0-9]*` for d in [a-z]*; do test -d $d && dlist="$dlist $d" done ! find $dlist -xtype f -name "*.cc" | sort > $tmp.1 # If the library is not configured to support wchar_t, don't run those tests. if test -f "$outdir/testsuite_wchar_t"; then --- 30,47 ---- 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 -name "*.cc" | sort > $tmp.1 ! if test ! -s "$tmp.1"; then ! find $dlist -type l -name "*.cc" | sort > $tmp.1 ! fi ! if test ! -s "$tmp.1"; then ! exit 1 ! fi # If the library is not configured to support wchar_t, don't run those tests. if test -f "$outdir/testsuite_wchar_t"; then