From ffe5b92325a2a75d691adfacac9b8259e5e6d577 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Sep 2018 15:37:30 +1000 Subject: PyDoc: disable ASAN exit code for doc building Prevented docs from building on any minor issue when ASAN was enabled. --- doc/python_api/sphinx_doc_gen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/python_api/sphinx_doc_gen.sh') diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh index d7420f99070..eba9e1ce5fa 100755 --- a/doc/python_api/sphinx_doc_gen.sh +++ b/doc/python_api/sphinx_doc_gen.sh @@ -58,7 +58,10 @@ SPHINX_WORKDIR="$(mktemp --directory --suffix=.sphinx)" # Generate reStructuredText (blender/python only) if $DO_EXE_BLENDER ; then - # don't delete existing docs, now partial updates are used for quick builds. + # Don't delete existing docs, now partial updates are used for quick builds. + # + # Disable ASAN error halt since it results in nonzero exit code on any minor issue. + ASAN_OPTIONS=halt_on_error=0 \ $BLENDER_BIN \ --background \ -noaudio \ -- cgit v1.2.3