From: Sebastian Pipping Date: Tue, 9 Jul 2019 21:51:31 +0000 (+0200) Subject: qa.sh: Support GCC coverage reporting with Apple GCC as well X-Git-Tag: R_2_2_8~81^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99d60755bd693040d1cea7c571011764a55b2af0;p=libexpat qa.sh: Support GCC coverage reporting with Apple GCC as well --- diff --git a/.travis.yml b/.travis.yml index 5a82f4ef..cc61302b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,6 @@ env: matrix: exclude: - - os: osx - env: QA_PROCESSOR=gcov - os: osx env: QA_SANITIZER=memory # unsupported option '-fsanitize=memory' diff --git a/expat/qa.sh b/expat/qa.sh index 2686bdcd..6f3bf6a8 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -73,7 +73,7 @@ populate_environment() { if [[ ${QA_COMPILER} = gcc ]]; then case "${QA_PROCESSOR}" in egypt) BASE_COMPILE_FLAGS+=" -fdump-rtl-expand" ;; - gcov) BASE_COMPILE_FLAGS+=" --coverage --no-inline" ;; + gcov) BASE_COMPILE_FLAGS+=" --coverage -O0" ;; esac fi