From 99d60755bd693040d1cea7c571011764a55b2af0 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 9 Jul 2019 23:51:31 +0200 Subject: [PATCH] qa.sh: Support GCC coverage reporting with Apple GCC as well --- .travis.yml | 2 -- expat/qa.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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