This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
remove old dir from scripts/create_testsuite_files
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 25 Apr 2009 22:12:43 +0100
- Subject: remove old dir from scripts/create_testsuite_files
The testsuite/thread directory was removed at the start of February,
this patch fixes:
$ make -C testsuite/ testsuite_files
make: Entering directory
`/home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/scripts/create_testsuite_files \
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/testsuite `${PWDCMD-pwd}`
find: `thread': No such file or directory
find: `thread': No such file or directory
make: Leaving directory
`/home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
Tested by verifying the generated file is the same before and after the patch.
* scripts/create_testsuite_files: Remove thread directory.
OK for trunk and 4.4?
Jonathan
Index: scripts/create_testsuite_files
===================================================================
--- scripts/create_testsuite_files (revision 146782)
+++ scripts/create_testsuite_files (working copy)
@@ -32,7 +32,7 @@ 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]*`
-dlist="$dlist abi backward ext performance thread tr1"
+dlist="$dlist abi backward ext performance 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