diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-26 20:31:48 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-26 20:31:48 +0000 |
commit | 5e941d36484f44b6d1a9818a7d43d421d5aae015 (patch) | |
tree | 739f7f5485aa70b3d8890d2d63f7d961052a68cb /libstdc++-v3/scripts | |
parent | 09e79bdc397d854d584cfc97f1331a2d5554a927 (diff) | |
download | gcc-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-x | libstdc++-v3/scripts/check_compile | 8 |
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 |