OSDN Git Service

2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / mkcheck.in
index 72a2b76..0d59d8b 100755 (executable)
@@ -320,9 +320,7 @@ test_file()
     # time_t's (no more overhead than grabbing two date(1)'s).
     compiler_invocation="$LTCXX $S_FLAG $SRC_NAME -o $EXENAME"
     COMP_TIME_START=$($TIMER_COMMAND)
-    echo $SRC_NAME >> compile.out
     $compiler_invocation >> compile.out 2>&1
-    echo "" >> compile.out
     COMP_TIME_END=$($TIMER_COMMAND)
 
     if [ $COMP_TIME_START -lt $COMP_TIME_END ]; then
@@ -332,7 +330,7 @@ test_file()
     fi
 
     if [ -f $EXENAME ]; then
-#        rm compile.out
+        rm compile.out
         size_command TEXT
         size_command DATA
         size_command SIZE
@@ -370,8 +368,8 @@ test_file()
     else
         # the file did not compile/link.
         printf "\n" >> $LOG_FILE
-#        `cat compile.out >> $LOG_FILE` 
-#        rm compile.out
+        `cat compile.out >> $LOG_FILE` 
+        rm compile.out
         RESULT="-b"
         TEXT="0"
         DATA="0"