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
2 changed files with 10 additions and 2 deletions
|
@ -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>
|
2005-08-26 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
PR libstdc++/23081
|
PR libstdc++/23081
|
||||||
|
|
|
@ -32,17 +32,21 @@ CXX="$COMPILER $INCLUDES $PCH_FLAGS $FLAGS $TEST_FLAGS"
|
||||||
|
|
||||||
TESTS_FILE="testsuite_files"
|
TESTS_FILE="testsuite_files"
|
||||||
|
|
||||||
|
#mkdir binaries
|
||||||
|
UNIQUE_ID=0
|
||||||
|
|
||||||
for NAME in `cat $TESTS_FILE`
|
for NAME in `cat $TESTS_FILE`
|
||||||
do
|
do
|
||||||
if $RUN; then
|
if $RUN; then
|
||||||
echo $NAME
|
echo $NAME
|
||||||
FILE_NAME="`basename $NAME`"
|
OUTPUT_NAME=$UNIQUE_ID
|
||||||
OUTPUT_NAME="`echo $FILE_NAME | sed 's/cc$/s/'`"
|
|
||||||
$CXX $SRC_DIR/testsuite/$NAME -o $OUTPUT_NAME
|
$CXX $SRC_DIR/testsuite/$NAME -o $OUTPUT_NAME
|
||||||
if [ -f $OUTPUT_NAME ]; then
|
if [ -f $OUTPUT_NAME ]; then
|
||||||
|
# mv $OUTPUT_NAME binaries
|
||||||
rm $OUTPUT_NAME
|
rm $OUTPUT_NAME
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
let UNIQUE_ID+=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue