]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mkcheck.in (explanation): Don't paste output of passing compiles into log file.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 21 Nov 2000 06:17:15 +0000 (06:17 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 21 Nov 2000 06:17:15 +0000 (06:17 +0000)
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (explanation): Don't paste output of passing compiles
into log file.

* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

From-SVN: r37604

libstdc++-v3/mkcheck.in
libstdc++-v3/testsuite/23_containers/vector_ctor.cc

index 9d676e8c85c514b073de79e25c3a8eba8e890f05..1eaa18df21be9b5f66d6ff8661db0dfc2551a6cb 100755 (executable)
@@ -382,7 +382,7 @@ test_file()
     #printf "\n: " >> $LOG_FILE
     printf "\n" >> $LOG_FILE
     COMP_TIME_START=$($TEST_DIR/printnow)
-    $compiler_invocation >> $LOG_FILE 2>&1
+    $compiler_invocation
     COMP_TIME_END=$($TEST_DIR/printnow)
 
     if [ $COMP_TIME_START -lt $COMP_TIME_END ]; then
@@ -427,6 +427,7 @@ test_file()
         fi
     else
         # the file did not compile/link.
+        $compiler_invocation >> $LOG_FILE 2>&1
         RESULT="-b"
         TEXT="0"
         DATA="0"
index 02f9bdf181e93d00f4ac7669484a4ce3a72bef62..10a244f533ba8619d62d0fef82d860da2e57576f 100644 (file)
@@ -51,7 +51,7 @@ template class std::vector< A<B> >;
 
 
 // libstdc++/102
-void test02
+void test02()
 {
   std::vector<int> v1;
   std::vector<int> v2 (v1);