From de7ae7b2e90ec82c1b5286a8c8c36a297ba633c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 8 Jan 2016 16:47:33 +0100 Subject: [PATCH] Exclude some warnings from the doxygen test Apparently travis has an old version of doxygen that doesn't know all tags in our config. That's not something we care about, we only want to know about warnings in our doxygen content --- tests/scripts/doxygen.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/scripts/doxygen.sh b/tests/scripts/doxygen.sh index 5a00c90b7..1013cbd16 100755 --- a/tests/scripts/doxygen.sh +++ b/tests/scripts/doxygen.sh @@ -16,10 +16,14 @@ if make apidoc > doc.out 2>doc.err; then :; else exit 1; fi -if grep warning doc.out doc.err; then +cat doc.out doc.err | \ + grep -v "warning: ignoring unsupported tag" \ + > doc.filtered + +if grep "warning" doc.filtered; then echo "FAIL" >&2 exit 1; fi make apidoc_clean -rm -f doc.out doc.err +rm -f doc.out doc.err doc.filtered