summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/scripts/create_testsuite_files
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-19 01:25:07 +0000
committerkan <kan@FreeBSD.org>2007-05-19 01:25:07 +0000
commit7865836f4b0f698454c31b4593effcb032c22c1e (patch)
treeea6c2718dc1e45ed535d194df808ef31f0ebac92 /contrib/libstdc++/scripts/create_testsuite_files
parent1f9ea4d0a40cca64d60cf4dab152349da7b9dddf (diff)
downloadFreeBSD-src-7865836f4b0f698454c31b4593effcb032c22c1e.zip
FreeBSD-src-7865836f4b0f698454c31b4593effcb032c22c1e.tar.gz
GCC 4.2.0 release C++ standard library and runtime support code.
Diffstat (limited to 'contrib/libstdc++/scripts/create_testsuite_files')
-rwxr-xr-xcontrib/libstdc++/scripts/create_testsuite_files25
1 files changed, 9 insertions, 16 deletions
diff --git a/contrib/libstdc++/scripts/create_testsuite_files b/contrib/libstdc++/scripts/create_testsuite_files
index 50f2e13..8d87e09 100755
--- a/contrib/libstdc++/scripts/create_testsuite_files
+++ b/contrib/libstdc++/scripts/create_testsuite_files
@@ -32,30 +32,23 @@ 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 thread tr1"
+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
-# If the library is not configured to support wchar_t, don't run those tests.
-if test -f "$outdir/testsuite_wchar_t"; then
- mv $tmp.1 $tmp.2
-else
- grep -v wchar_t $tmp.1 > $tmp.2
-fi
-
# Now filter out classes of tests. These classes are run using special rules.
-grep _xin $tmp.2 > $tests_file_inter
-grep -v _xin $tmp.2 > $tmp.3
+grep _xin $tmp.1 > $tests_file_inter
+grep -v _xin $tmp.1 > $tmp.4
-grep performance $tmp.3 > $tests_file_perf
-grep -v performance $tmp.3 > $tmp.4
+grep performance $tmp.4 > $tests_file_perf
+grep -v performance $tmp.4 > $tmp.5
# ...more filters go here.
-cp $tmp.4 $tests_file_normal
+cp $tmp.5 $tests_file_normal
rm $tmp*
exit 0
OpenPOWER on IntegriCloud