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

tarantool / tarantool / 14577591471
88%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2025 05:17PM UTC
Jobs 1
Files 518
Run time 2min
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

21 Apr 2025 05:02PM UTC coverage: 87.5% (+0.02%) from 87.476%
14577591471

push

github

Totktonada
Fix FP compilation warning in func_adapter test

When I use LTO and warning-as-an-error locally with GCC 13 I got the
following build failure:

```c
In function ‘test_func_adapter_func_is_pinned’,
    inlined from ‘test_main’ at <...>/test/unit/func_adapter_func.c:142:2,
    inlined from ‘main’ at <...>/test/unit/func_adapter_func.c:163:11:
<...>/test/unit/func_adapter_func.c:124:17: error: ‘returned_pin_type’ may be used uninitialized [-Werror=maybe-uninitialized]
  124 |                 is(returned_pin_type, pin_type,
      |                 ^
<...>/test/unit/func_adapter_func.c: In function ‘main’:
<...>/test/unit/func_adapter_func.c:121:39: note: ‘returned_pin_type’ was declared here
  121 |                 enum func_holder_type returned_pin_type;
      |                                       ^
lto1: all warnings being treated as errors
```

The build command:

```sh
cmake -S . -B . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON -DTEST_BUILD=ON -DENABLE_LTO=ON
```

The fix is suggested by Andrey Saranchin (@drewdzzz).

This problem surprisingly happens in CI on increasing cmake minimum
version to 3.5 (see #11382). Not sure about a reason, but since it hits
me on `master` without any patches, that's definitely worth to fix.

While I'm here, initialize the `enum func_holder_type` variables in the
`func_cache` unit test.

NO_DOC=compilation fix
NO_TEST=compilation fix
NO_CHANGELOG=compilation fix

70342 of 124027 branches covered (56.72%)

103485 of 118269 relevant lines covered (87.5%)

2878791.74 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.14
-0.18% src/box/relay.cc
1
95.77
0.0% src/box/replication.cc
1
93.55
-0.14% src/box/txn_limbo.c
1
84.35
0.21% src/box/xlog.c
1
87.5
-1.59% src/box/xlog.h
1
65.97
5.13% src/lib/core/fio.c
1
96.15
-0.05% src/lib/salad/bps_tree.h
1
91.68
0.0% src/lib/swim/swim.c
1
22.64
-0.02% src/lib/uri/uri_parser.c
1
97.41
-0.86% src/lib/vclock/vclock.c
2
95.84
-0.11% src/box/iproto.cc
2
87.44
-0.13% src/box/vy_run.c
2
93.87
-0.37% src/box/xrow_update_field.c
2
93.03
-0.21% src/lib/core/fiber.c
2
96.95
-0.1% src/lib/msgpuck/msgpuck.h
3
91.0
-0.2% src/box/vy_scheduler.c
Jobs
ID Job ID Ran Files Coverage
1 14577591471.1 21 Apr 2025 05:17PM UTC 518
87.5
GitHub Action Run
Source Files on build 14577591471
  • Tree
  • List 518
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ca4bdb05 on github
  • Prev Build on master (#14569568374)
  • Next Build on master (#14603794794)
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