Skip to content

Commit

Permalink
Travis: switch OSX build to Xcode 11.4
Browse files Browse the repository at this point in the history
This should fix a bug in the coverage computation in older clang
versions (before LLVM 8) where the function signature is marked as
uncovered: clang instruments incorrectly marks it as code. That is:

    void foo(void) // <- this line is marked as uncovered code
    {
        return 0;
    }

See also
- <https://stackoverflow.com/q/31507084>
- <https://stackoverflow.com/q/47960954>
- <linux-test-project/lcov#30>
  • Loading branch information
fingolfin committed May 17, 2020
1 parent 5d2fe4a commit 097737b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ matrix:
# OS X builds: since those are slow and limited on Travis, we only run testinstall
- env: TEST_SUITES="docomp testinstall"
os: osx
compiler: clang
osx_image: xcode11.4

# test creating the manual
- env: TEST_SUITES=makemanuals
Expand Down

0 comments on commit 097737b

Please sign in to comment.