mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-14 10:30:24 +08:00
check_compile (UNIQUE_ID): New.
2005-08-26 Benjamin Kosnik <bkoz@redhat.com> * scripts/check_compile (UNIQUE_ID): New. Use to name output files. From-SVN: r103534
This commit is contained in:
parent
b207d6e26f
commit
327d749cf8
@ -1,3 +1,7 @@
|
||||
2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* scripts/check_compile (UNIQUE_ID): New. Use to name output files.
|
||||
|
||||
2005-08-26 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/23081
|
||||
|
@ -32,17 +32,21 @@ CXX="$COMPILER $INCLUDES $PCH_FLAGS $FLAGS $TEST_FLAGS"
|
||||
|
||||
TESTS_FILE="testsuite_files"
|
||||
|
||||
#mkdir binaries
|
||||
UNIQUE_ID=0
|
||||
|
||||
for NAME in `cat $TESTS_FILE`
|
||||
do
|
||||
if $RUN; then
|
||||
echo $NAME
|
||||
FILE_NAME="`basename $NAME`"
|
||||
OUTPUT_NAME="`echo $FILE_NAME | sed 's/cc$/s/'`"
|
||||
OUTPUT_NAME=$UNIQUE_ID
|
||||
$CXX $SRC_DIR/testsuite/$NAME -o $OUTPUT_NAME
|
||||
if [ -f $OUTPUT_NAME ]; then
|
||||
# mv $OUTPUT_NAME binaries
|
||||
rm $OUTPUT_NAME
|
||||
fi
|
||||
echo ""
|
||||
let UNIQUE_ID+=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user