mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 07:08:51 +08:00
mkcheck.in (explanation): Don't paste output of passing compiles into log file.
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
This commit is contained in:
parent
beac9b932c
commit
cd9c4fee8e
@ -382,7 +382,7 @@ test_file()
|
|||||||
#printf "\n: " >> $LOG_FILE
|
#printf "\n: " >> $LOG_FILE
|
||||||
printf "\n" >> $LOG_FILE
|
printf "\n" >> $LOG_FILE
|
||||||
COMP_TIME_START=$($TEST_DIR/printnow)
|
COMP_TIME_START=$($TEST_DIR/printnow)
|
||||||
$compiler_invocation >> $LOG_FILE 2>&1
|
$compiler_invocation
|
||||||
COMP_TIME_END=$($TEST_DIR/printnow)
|
COMP_TIME_END=$($TEST_DIR/printnow)
|
||||||
|
|
||||||
if [ $COMP_TIME_START -lt $COMP_TIME_END ]; then
|
if [ $COMP_TIME_START -lt $COMP_TIME_END ]; then
|
||||||
@ -427,6 +427,7 @@ test_file()
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# the file did not compile/link.
|
# the file did not compile/link.
|
||||||
|
$compiler_invocation >> $LOG_FILE 2>&1
|
||||||
RESULT="-b"
|
RESULT="-b"
|
||||||
TEXT="0"
|
TEXT="0"
|
||||||
DATA="0"
|
DATA="0"
|
||||||
|
@ -51,7 +51,7 @@ template class std::vector< A<B> >;
|
|||||||
|
|
||||||
|
|
||||||
// libstdc++/102
|
// libstdc++/102
|
||||||
void test02
|
void test02()
|
||||||
{
|
{
|
||||||
std::vector<int> v1;
|
std::vector<int> v1;
|
||||||
std::vector<int> v2 (v1);
|
std::vector<int> v2 (v1);
|
||||||
|
Loading…
Reference in New Issue
Block a user