qa.sh: Support GCC coverage reporting with Apple GCC as well
This commit is contained in:
parent
240957b865
commit
99d60755bd
@ -29,8 +29,6 @@ env:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- os: osx
|
|
||||||
env: QA_PROCESSOR=gcov
|
|
||||||
- os: osx
|
- os: osx
|
||||||
env: QA_SANITIZER=memory # unsupported option '-fsanitize=memory'
|
env: QA_SANITIZER=memory # unsupported option '-fsanitize=memory'
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ populate_environment() {
|
|||||||
if [[ ${QA_COMPILER} = gcc ]]; then
|
if [[ ${QA_COMPILER} = gcc ]]; then
|
||||||
case "${QA_PROCESSOR}" in
|
case "${QA_PROCESSOR}" in
|
||||||
egypt) BASE_COMPILE_FLAGS+=" -fdump-rtl-expand" ;;
|
egypt) BASE_COMPILE_FLAGS+=" -fdump-rtl-expand" ;;
|
||||||
gcov) BASE_COMPILE_FLAGS+=" --coverage --no-inline" ;;
|
gcov) BASE_COMPILE_FLAGS+=" --coverage -O0" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user