diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-08-26 20:31:48 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-08-26 20:31:48 +0000 |
commit | 327d749cf801245ac09a5539bb0ee4f07a32002c (patch) | |
tree | 739f7f5485aa70b3d8890d2d63f7d961052a68cb /libstdc++-v3 | |
parent | b207d6e26f1d7f038d0a6d7360e7208cdd97989b (diff) | |
download | gcc-327d749cf801245ac09a5539bb0ee4f07a32002c.zip gcc-327d749cf801245ac09a5539bb0ee4f07a32002c.tar.gz gcc-327d749cf801245ac09a5539bb0ee4f07a32002c.tar.bz2 |
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rwxr-xr-x | libstdc++-v3/scripts/check_compile | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e512e6f..d8ee627 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/scripts/check_compile b/libstdc++-v3/scripts/check_compile index e27cc33..6d7f515 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 |