Skip to content

Conversation

@steve-downey
Copy link
Member

Add more coverage.
May make coverage percent go down as more functions are instantiated.

@steve-downey steve-downey requested review from a team and JeffGarland May 26, 2025 19:34
```txt
/usr/bin/ld: lib/Gcov/libgtest.a(gtest-all.cc.o): in function `std::nextafter(_Float16, _Float16)':
/usr/include/c++/14/cmath:2877:(.text._ZSt9nextafterDF16_DF16_[_ZSt9nextafterDF16_DF16_]+0x6a): undefined reference to `nextafterf16'
/usr/bin/ld: lib/Gcov/libgtest.a(gtest-all.cc.o): in function `std::nextafter(std::bfloat16_t, std::bfloat16_t)':
/usr/include/c++/14/cmath:3595:(.text._ZSt9nextafterDF16bDF16b[_ZSt9nextafterDF16bDF16b]+0x6a):
undefined reference to `__builtin_nextafterf16b'
```

Bug reports suggest libc vs libstdc++ issues around optimization and inlining.
Allowing more inlining in gcov profile.
-fkeep-inline-functions seems to involved with failures on Ubuntu 24.04 and
GCC14 with an inline definition unavailable at link time. This is causing CI
errors.
@coveralls
Copy link

coveralls commented May 26, 2025

Pull Request Test Coverage Report for Build 15365667797

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+3.2%) to 100.0%

Totals Coverage Status
Change from base Build 15365664971: 3.2%
Covered Lines: 304
Relevant Lines: 304

💛 - Coveralls

@steve-downey steve-downey deleted the more_coverage branch May 30, 2025 22:32
@steve-downey steve-downey restored the more_coverage branch May 31, 2025 16:36
@steve-downey steve-downey reopened this May 31, 2025
@steve-downey
Copy link
Member Author

Accidentally deleted the branch in my fork.
GCC 14 failure is fixed in separate commit which I'll merge first and then.

@steve-downey steve-downey merged commit cf05829 into bemanproject:main May 31, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants