summaryrefslogtreecommitdiff
path: root/libstdc++-v3/scripts
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-26 20:31:48 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-26 20:31:48 +0000
commit5e941d36484f44b6d1a9818a7d43d421d5aae015 (patch)
tree739f7f5485aa70b3d8890d2d63f7d961052a68cb /libstdc++-v3/scripts
parent09e79bdc397d854d584cfc97f1331a2d5554a927 (diff)
downloadgcc-5e941d36484f44b6d1a9818a7d43d421d5aae015.tar.gz
2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
* scripts/check_compile (UNIQUE_ID): New. Use to name output files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103534 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-xlibstdc++-v3/scripts/check_compile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/scripts/check_compile b/libstdc++-v3/scripts/check_compile
index e27cc33c8a0..6d7f51595f6 100755
--- a/libstdc++-v3/scripts/check_compile
+++ b/libstdc++-v3/scripts/check_compile
@@ -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