From: Frantisek Sumsal Date: Fri, 22 May 2020 09:34:01 +0000 (+0200) Subject: travis: enable fuzzer regression tests under sanitizers X-Git-Tag: v246-rc1~303^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9158b254ca4602ca46ff4aeb97b04eaf0e9bbab;p=thirdparty%2Fsystemd.git travis: enable fuzzer regression tests under sanitizers --- diff --git a/travis-ci/managers/debian.sh b/travis-ci/managers/debian.sh index 2851d9229da..60f6237606f 100755 --- a/travis-ci/managers/debian.sh +++ b/travis-ci/managers/debian.sh @@ -65,7 +65,10 @@ for phase in "${PHASES[@]}"; do RUN_ASAN|RUN_CLANG_ASAN) if [[ "$phase" = "RUN_CLANG_ASAN" ]]; then ENV_VARS="-e CC=clang -e CXX=clang++" - MESON_ARGS="-Db_lundef=false" # See https://github.com/mesonbuild/meson/issues/764 + # Build fuzzer regression tests only with clang (for now), + # see: https://github.com/systemd/systemd/pull/15886#issuecomment-632689604 + # -Db_lundef=false: See https://github.com/mesonbuild/meson/issues/764 + MESON_ARGS="-Db_lundef=false -Dfuzz-tests=true --optimization=1" fi docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Db_sanitize=address,undefined -Dsplit-usr=true $MESON_ARGS build $DOCKER_EXEC ninja -v -C build