mkcheck.in (explanation): Retain output of all failing compiles.

2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

From-SVN: r37639
This commit is contained in:
Loren J. Rittle 2000-11-22 02:15:49 +00:00 committed by Benjamin Kosnik
parent cac16ef9da
commit 5388a89aac
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-11-21 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in (explanation): Retain output of all failing
compiles. Don't add gratuitous space to the log file.
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/strstream.cc: Adjust includes.

View File

@ -375,7 +375,6 @@ test_file()
# eventually have to calculate time_t anyhow. Or 3) just grab two
# time_t's (no more overhead than grabbing two date(1)'s).
compiler_invocation="$LTCXX $S_FLAG $SRC_NAME -o $EXENAME $LIBS"
printf "\n" >> $LOG_FILE
COMP_TIME_START=$($TEST_DIR/printnow)
$compiler_invocation >> compile.out 2>&1
COMP_TIME_END=$($TEST_DIR/printnow)
@ -423,6 +422,7 @@ test_file()
fi
else
# the file did not compile/link.
printf "\n" >> $LOG_FILE
`cat compile.out > $LOG_FILE`
rm compile.out
RESULT="-b"