summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-21 06:17:15 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-21 06:17:15 +0000
commit951c8807f6c212425d0bd82acb320b01a0e2d438 (patch)
treedee8b957ae8cd28cf5fa3e6bf5c5d435fe281e99 /libstdc++-v3
parent57b47eb0d9acfcdaa7769a4deb523ec0ce99d32c (diff)
downloadgcc-951c8807f6c212425d0bd82acb320b01a0e2d438.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rwxr-xr-xlibstdc++-v3/mkcheck.in3
-rw-r--r--libstdc++-v3/testsuite/23_containers/vector_ctor.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in
index 9d676e8c85c..1eaa18df21b 100755
--- a/libstdc++-v3/mkcheck.in
+++ b/libstdc++-v3/mkcheck.in
@@ -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"
diff --git a/libstdc++-v3/testsuite/23_containers/vector_ctor.cc b/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
index 02f9bdf181e..10a244f533b 100644
--- a/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
+++ b/libstdc++-v3/testsuite/23_containers/vector_ctor.cc
@@ -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);