qa.sh: Support GCC coverage reporting with Apple GCC as well

This commit is contained in:
Sebastian Pipping 2019-07-09 23:51:31 +02:00
parent 240957b865
commit 99d60755bd
2 changed files with 1 additions and 3 deletions

View File

@ -29,8 +29,6 @@ env:
matrix:
exclude:
- os: osx
env: QA_PROCESSOR=gcov
- os: osx
env: QA_SANITIZER=memory # unsupported option '-fsanitize=memory'

View File

@ -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