]> gcc.gnu.org Git - gcc.git/commitdiff
check_compile (UNIQUE_ID): New.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 26 Aug 2005 20:31:48 +0000 (20:31 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 26 Aug 2005 20:31:48 +0000 (20:31 +0000)
2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/check_compile (UNIQUE_ID): New. Use to name output files.

From-SVN: r103534

libstdc++-v3/ChangeLog
libstdc++-v3/scripts/check_compile

index e512e6f9177aa84d652ac702c3cad5c84b962ad7..d8ee627d8d335dd5a9b5e5938fcb5d260dd24af3 100644 (file)
@@ -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
index e27cc33c8a0cb294a09fdc3b92d5e6c18781b664..6d7f51595f66106f5ecad9ec9ce2d2a79f53480c 100755 (executable)
@@ -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
 
This page took 0.066045 seconds and 5 git commands to generate.