From 2e482ab56b57ed05735d46e757e9aced8bdc1b5d Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Thu, 16 Nov 2017 06:21:31 -0800 Subject: [PATCH] CI: rework doxygen test --- tests/00-doxygen/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/00-doxygen/Makefile b/tests/00-doxygen/Makefile index 9802dc9c7..2a5e48936 100644 --- a/tests/00-doxygen/Makefile +++ b/tests/00-doxygen/Makefile @@ -36,18 +36,17 @@ summary: doxygen @( \ 1> summary; \ if [ -s doxygen.runerr ] ; then \ - echo "doxygen: FAIL\nDoxygen caused some errors. Please fix these." >> summary; \ - echo "Errors:" >> summary; \ - cat doxygen.runerr >> summary; \ - echo >> summary; \ + echo "Doxygen: TEST FAIL" >> summary; \ + echo "Errors:"; \ + cat doxygen.runerr; \ fi ; \ if [ -s $(DOCDIR)/doxygen.log ] ; then \ - echo "doxygen: FAIL\nDoxygen caused some warnings. Please fix these." >> summary; \ - echo "Warnings:" >> summary; \ - cat $(DOCDIR)/doxygen.log >> summary; \ + echo "Doxygen: TEST FAIL" >> summary; \ + echo "Warnings:"; \ + cat $(DOCDIR)/doxygen.log; \ fi ; \ if [ ! -s summary ] ; then \ - echo "doxygen: OK\nDoxygen found no warnings" >> summary; \ + echo "Doxygen: TEST OK (no warning nor error)" >> summary; \ fi ; \ cat summary \ )