diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-05-25 17:53:00 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-05-25 17:53:00 +0000 |
commit | 9874adaf91fee8a95b7a1ef0ad5014bf55e016ef (patch) | |
tree | b8b422bd981f8fa3a077288b4ba06f049df8c8f4 /libstdc++-v3/scripts | |
parent | 104a401041fd76a07d6da9a1f28bdbf37d10f74d (diff) | |
download | gcc-9874adaf91fee8a95b7a1ef0ad5014bf55e016ef.zip gcc-9874adaf91fee8a95b7a1ef0ad5014bf55e016ef.tar.gz gcc-9874adaf91fee8a95b7a1ef0ad5014bf55e016ef.tar.bz2 |
re PR libstdc++/15489 (testsuite_files determined incorrectly)
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.
From-SVN: r82250
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-x | libstdc++-v3/scripts/create_testsuite_files | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/scripts/create_testsuite_files b/libstdc++-v3/scripts/create_testsuite_files index f97b6e6..8e35789 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 |