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

tarantool / tarantool / 14582668215
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/restart_server
DEFAULT BRANCH: master
Ran 21 Apr 2025 10:50PM 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 10:36PM UTC coverage: 87.499% (+0.007%) from 87.492%
14582668215

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

(cherry picked from commit ca4bdb052)

69984 of 123847 branches covered (56.51%)

103001 of 117717 relevant lines covered (87.5%)

2179515.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.78
-0.12% src/box/replication.cc
1
95.89
-0.21% src/box/vy_read_iterator.c
1
96.3
-3.7% src/cpu_feature.c
1
92.84
-0.09% src/lib/core/fiber.c
1
22.68
-0.02% src/lib/uri/uri_parser.c
2
93.93
-0.31% src/box/memtx_space.c
3
90.7
-0.22% src/box/applier.cc
3
96.95
-0.3% src/lib/msgpuck/msgpuck.h
Jobs
ID Job ID Ran Files Coverage
1 14582668215.1 21 Apr 2025 10:50PM UTC 518
87.5
GitHub Action Run
Source Files on build 14582668215
  • Tree
  • List 518
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • edc69b7e on github
  • Prev Build on release/3.3 (#14389582726)
  • Next Build on release/3.3 (#14706628116)
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