CI: rework doxygen test
This commit is contained in:
parent
dd7960f636
commit
2e482ab56b
@ -36,18 +36,17 @@ 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: TEST FAIL" >> summary; \
|
||||||
echo "Errors:" >> summary; \
|
echo "Errors:"; \
|
||||||
cat doxygen.runerr >> summary; \
|
cat doxygen.runerr; \
|
||||||
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: TEST FAIL" >> summary; \
|
||||||
echo "Warnings:" >> summary; \
|
echo "Warnings:"; \
|
||||||
cat $(DOCDIR)/doxygen.log >> summary; \
|
cat $(DOCDIR)/doxygen.log; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if [ ! -s summary ] ; then \
|
if [ ! -s summary ] ; then \
|
||||||
echo "doxygen: OK\nDoxygen found no warnings" >> summary; \
|
echo "Doxygen: TEST OK (no warning nor error)" >> summary; \
|
||||||
fi ; \
|
fi ; \
|
||||||
cat summary \
|
cat summary \
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user