From: Michal Nowak Date: Fri, 5 Feb 2021 11:12:41 +0000 (+0100) Subject: Check config.log for ASAN errors X-Git-Tag: v9.17.11~64^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0db934d401790f73e5db233997c1a994d8584b82;p=thirdparty%2Fbind9.git Check config.log for ASAN errors ./configure checks might produce a false negative error due to ASAN errors and thus disable some options. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d0138780a1..98d800490d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -251,6 +251,7 @@ stages: - make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1 - test -z "${RUN_MAKE_INSTALL}" || make install - test -z "${RUN_MAKE_INSTALL}" || sh util/check-make-install + - if [[ "${CFLAGS}" == *"-fsanitize=address"* ]]; then ( ! grep -F AddressSanitizer config.log ); fi - if test -z "${OUT_OF_TREE_WORKSPACE}" && test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi after_script: - test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"