On 02/15/17 20:56, Mike Holmes wrote:
> 
> 
> On 14 February 2017 at 15:32, Maxim Uvarov <maxim.uva...@linaro.org
> <mailto:maxim.uva...@linaro.org>> wrote:
> 
>     make doxygen-doc does not return negative code on
>     errors. Do it manually.
> 
>     Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org
>     <mailto:maxim.uva...@linaro.org>>
>     ---
>      .travis.yml | 4 +++-
>      1 file changed, 3 insertions(+), 1 deletion(-)
> 
>     diff --git a/.travis.yml b/.travis.yml
>     index 9e7471c2..1ab943fe 100644
>     --- a/.travis.yml
>     +++ b/.travis.yml
>     @@ -119,7 +119,9 @@ script:
> 
>              - ./bootstrap
>              - ./configure
>     -        - make doxygen-doc
>     +#        doxygen does not trap on warnings, check for them here.
>     +        - make doxygen-doc |tee doxygen.log
>     +        - fgrep -rvq warning ./doxygen.log
> 
> 
> Could Doxygens own error parameter be used to achieve this  transparently ?
> 
> |WARN_AS_ERROR|
> 
>     If the |WARN_AS_ERROR| tag is set to |YES| then doxygen will
>     immediately stop when a warning is encountered.
> 
>  

Do you have working version for this option? I tried to do it but might
be it works only with latest doxygen.


Warning: ignoring unsupported tag `WARN_AS_ERROR =' at line 10, file
./doc/Doxyfile_common
22:27 /opt/Linaro/odp3.git (master)$echo $?
0




> 
>              - make distcheck
> 
>              - ./bootstrap
>     --
>     2.11.0.295.gd7dffce
> 
> 
> 
> 
> -- 
> Mike Holmes
> Program Manager - Linaro Networking Group
> Linaro.org <http://www.linaro.org/>* **│ *Open source software for ARM SoCs
> "Work should be fun and collaborative, the rest follows"
> 
> __
> 
> 

Reply via email to