diff options
author | albert-github <albert.tests@gmail.com> | 2020-11-23 14:17:17 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-11-23 14:17:17 (GMT) |
commit | b88e8097acdb30175c024ed47258739cec30f903 (patch) | |
tree | 23530963101cc692e5e63994c2296491a21ea742 /src/config.xml | |
parent | 4e75d77f60bd173019247177686376ce36ace90b (diff) | |
download | Doxygen-b88e8097acdb30175c024ed47258739cec30f903.zip Doxygen-b88e8097acdb30175c024ed47258739cec30f903.tar.gz Doxygen-b88e8097acdb30175c024ed47258739cec30f903.tar.bz2 |
issue #8023 Add option to exit with non-zero exit code on warnings even if WARN_AS_ERROR is OFF
In case we want for a Continuous integration system a non-zero exit status at the end of a doxygen we can now set `WARN_AS_ERRORS=FAIL_ON_WARNINGS`.
The behavior for `NO` and `YES` remains as it was.
Diffstat (limited to 'src/config.xml')
-rw-r--r-- | src/config.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/config.xml b/src/config.xml index 0ec4219..2880cbe 100644 --- a/src/config.xml +++ b/src/config.xml @@ -1335,13 +1335,19 @@ FILE_VERSION_FILTER = "cleartool desc -fmt \%Vn" ]]> </docs> </option> - <option type='bool' id='WARN_AS_ERROR' defval='0'> + <option type='enum' id='WARN_AS_ERROR' defval='NO'> <docs> <![CDATA[ If the \c WARN_AS_ERROR tag is set to \c YES then doxygen will immediately stop when a warning is encountered. + If the \c WARN_AS_ERROR tag is set to \c FAIL_ON_WARNINGS then doxygen will continue + running as if \c WARN_AS_ERROR tag is set to \c NO, but at the end of the doxygen + process doxygen will return with a non-zero status. ]]> </docs> + <value name="NO"/> + <value name="YES" /> + <value name="FAIL_ON_WARNINGS" /> </option> <option type='string' id='WARN_FORMAT' format='string' defval='$file:$line: $text'> <docs> |