Commit 327d749c by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent b207d6e2
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment