• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Tatsh / dbeaver-creds / 25116329143
100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 02:56PM UTC
Jobs 5
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2026 02:55PM UTC coverage: 97.854% (-2.1%) from 100.0%
25116329143

push

github

Tatsh
tests: link win_utf8.c into test_api and test_api_mock on windows

The Windows MinGW64 native-windows job in the Tests workflow failed to
build `test_api` and `test_api_mock` after the UTF-8-everywhere pass:

    undefined reference to `dbc_utf16_to_utf8'
    undefined reference to `dbc_fopen_utf8'

Both symbols live in `src/win_utf8.c`. The library target picks them
up correctly because `src/CMakeLists.txt` appends `win_utf8.c` to the
core library on Windows, but the test executables compile `src/api.c`
directly into themselves rather than linking against the static
library, so they need the same conditional source addition.

Introduce an `API_SOURCES` variable in `tests/CMakeLists.txt`
(starting with `src/api.c`, plus `src/win_utf8.c` on Windows) and
substitute it into both `test_api` and `test_api_mock`. The other
test targets (`test_backend`, `test_backend_win32`,
`test_backend_openssl`) don't compile `api.c`, so they don't need
the helper.

Run: 25115992106 (Tests / native-windows MINGW64 windows-latest).
Signed-off-by: Andrew Udvare <audvare@gmail.com>

228 of 233 relevant lines covered (97.85%)

12.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 native-Windows-MINGW64 - 25116329143.1 29 Apr 2026 02:58PM UTC 4
96.08
GitHub Action Run
2 native-Linux - 25116329143.2 29 Apr 2026 02:56PM UTC 2
100.0
GitHub Action Run
3 pwsh - 25116329143.3 29 Apr 2026 02:56PM UTC 1
100.0
GitHub Action Run
4 native-Windows-CLANGARM64 - 25116329143.4 29 Apr 2026 03:02PM UTC 4
96.45
GitHub Action Run
5 native-macOS - 25116329143.5 29 Apr 2026 02:58PM UTC 2
96.7
GitHub Action Run
Source Files on build 25116329143
  • Tree
  • List 6
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25116329143
  • 3aa3a401 on github
  • Prev Build on master (#25115992106)
  • Next Build on master (#25116828359)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc