summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-25 17:53:00 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-25 17:53:00 +0000
commit1833f70eec6a42025dc2fd6ab88c485158d231d4 (patch)
treeb8b422bd981f8fa3a077288b4ba06f049df8c8f4
parent312c8fb6a515b850de240c9f496826380772b97a (diff)
downloadgcc-1833f70eec6a42025dc2fd6ab88c485158d231d4.tar.gz
2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15489 * scripts/create_testsuite_files: Revert xtype change, add non-GNU bits to do the same thing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82250 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog6
-rwxr-xr-xlibstdc++-v3/scripts/create_testsuite_files10
2 files changed, 14 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 8673f258a65..d4e1094b280 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR libstdc++/15489
+ * scripts/create_testsuite_files: Revert xtype change, add non-GNU
+ bits to do the same thing.
+
2004-05-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Correctly deal with
diff --git a/libstdc++-v3/scripts/create_testsuite_files b/libstdc++-v3/scripts/create_testsuite_files
index f97b6e69b23..8e357898f7f 100755
--- a/libstdc++-v3/scripts/create_testsuite_files
+++ b/libstdc++-v3/scripts/create_testsuite_files
@@ -30,12 +30,18 @@ tests_file_perf="$outdir/testsuite_files_performance"
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.
+# 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 -xtype f -name "*.cc" | sort > $tmp.1
+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