]> granicus.if.org Git - libexpat/commitdiff
qa.sh: Support GCC coverage reporting with Apple GCC as well
authorSebastian Pipping <sebastian@pipping.org>
Tue, 9 Jul 2019 21:51:31 +0000 (23:51 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 9 Jul 2019 22:31:19 +0000 (00:31 +0200)
.travis.yml
expat/qa.sh

index 5a82f4ef920d92eb5c67a05ccf24b58102484bb0..cc61302b6fe1a04ad1f9beb68e01847133f791a2 100644 (file)
@@ -29,8 +29,6 @@ env:
 
 matrix:
   exclude:
-    - os: osx
-      env: QA_PROCESSOR=gcov
     - os: osx
       env: QA_SANITIZER=memory  # unsupported option '-fsanitize=memory'
 
index 2686bdcd6d8996a4129b60de24c2133760db8f6a..6f3bf6a8adef1c39eb01b556c44aafe83e5fdcc0 100755 (executable)
@@ -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