CI: homogenize logs
This commit is contained in:
parent
665082ce97
commit
b4c4c740fa
@ -36,13 +36,13 @@ summary: doxygen
|
|||||||
@( \
|
@( \
|
||||||
1> summary; \
|
1> summary; \
|
||||||
if [ -s doxygen.runerr ] ; then \
|
if [ -s doxygen.runerr ] ; then \
|
||||||
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some errors. Please fix these." >> summary; \
|
echo "doxygen: FAIL\nDoxygen caused some errors. Please fix these." >> summary; \
|
||||||
echo "Errors:" >> summary; \
|
echo "Errors:" >> summary; \
|
||||||
cat doxygen.runerr >> summary; \
|
cat doxygen.runerr >> summary; \
|
||||||
echo >> summary; \
|
echo >> summary; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if [ -s $(DOCDIR)/doxygen.log ] ; then \
|
if [ -s $(DOCDIR)/doxygen.log ] ; then \
|
||||||
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some warnings. Please fix these." >> summary; \
|
echo "doxygen: FAIL\nDoxygen caused some warnings. Please fix these." >> summary; \
|
||||||
echo "Warnings:" >> summary; \
|
echo "Warnings:" >> summary; \
|
||||||
cat $(DOCDIR)/doxygen.log >> summary; \
|
cat $(DOCDIR)/doxygen.log >> summary; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
@ -54,7 +54,7 @@ summary: $(LOGS)
|
|||||||
@(\
|
@(\
|
||||||
for T in $(TOOLS) ; do \
|
for T in $(TOOLS) ; do \
|
||||||
if [ -f $$T.log.failed ] ; then \
|
if [ -f $$T.log.failed ] ; then \
|
||||||
echo tools/$$T: FAIL ಠ_ಠ >> $@;\
|
echo tools/$$T: FAIL >> $@;\
|
||||||
cat $$T.log >> $@;\
|
cat $$T.log >> $@;\
|
||||||
else \
|
else \
|
||||||
echo tools/$$T: OK >> $@;\
|
echo tools/$$T: OK >> $@;\
|
||||||
|
@ -82,7 +82,7 @@ tools:
|
|||||||
@$(foreach tool, $(TOOLS), \
|
@$(foreach tool, $(TOOLS), \
|
||||||
(((cd $(TOOLSDIR)/$(tool); make) > $(tool).report 2>&1) && \
|
(((cd $(TOOLSDIR)/$(tool); make) > $(tool).report 2>&1) && \
|
||||||
(echo $(tool): OK | tee $(tool).summary) || \
|
(echo $(tool): OK | tee $(tool).summary) || \
|
||||||
(echo $(tool): FAIL ಠ_ಠ | tee $(tool).summary ; \
|
(echo $(tool): FAIL | tee $(tool).summary ; \
|
||||||
tail -10 $(tool).report > $(tool).faillog)) ; )
|
tail -10 $(tool).report > $(tool).faillog)) ; )
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -73,9 +73,9 @@ done
|
|||||||
|
|
||||||
if [ $TESTCOUNT -ne $OKCOUNT ] ; then
|
if [ $TESTCOUNT -ne $OKCOUNT ] ; then
|
||||||
# At least one test failed
|
# At least one test failed
|
||||||
echo "$BASENAME: TEST FAIL ಠ_ಠ ($OKCOUNT/$TESTCOUNT, failed seeds:$FAILSEEDS)" > $BASENAME.testlog;
|
printf "%-32s TEST FAIL %3d/%d -- failed seeds:%s\n" "$BASENAME" "$OKCOUNT" "$TESTCOUNT" "$FAILSEEDS" > $BASENAME.testlog;
|
||||||
else
|
else
|
||||||
echo "$BASENAME: TEST OK ($OKCOUNT/$TESTCOUNT)" > $BASENAME.testlog;
|
printf "%-32s TEST OK %3d/%d\n" "$BASENAME" "$OKCOUNT" "$TESTCOUNT" > $BASENAME.testlog;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We do not want Make to stop -> Return 0
|
# We do not want Make to stop -> Return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user