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

pybricks / pybricks-micropython / 12857491823
56%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2025 09:56PM UTC
Jobs 2
Files 120
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

19 Jan 2025 09:54PM UTC coverage: 56.36%. Remained the same
12857491823

push

github

dlech
pybricks.common.ble: fix compiler warning

With GCC 13 and -flto disabled, we were getting warnings like:

    ../../pybricks/common/pb_type_ble.c:291:21: error: array subscript 5 is outside the bounds of an interior zero-length array 'uint8_t[0]' {aka 'unsigned char[]'} [-Werror=zero-length-bounds]
    291 |         value.v.data[5] = PB_BLE_BROADCAST_DATA_TYPE_SINGLE_OBJECT << 5;
        |         ~

Instead of using the zero-length array, access the d member directly.
This allows the compiler to actually check for out of bounds access
and warn us about it.

3877 of 6879 relevant lines covered (56.36%)

20222437.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 virtualhub - 12857491823.1 19 Jan 2025 09:56PM UTC 93
50.1
GitHub Action Run
2 PBIO - 12857491823.2 19 Jan 2025 09:58PM UTC 68
61.2
GitHub Action Run
Source Files on build 12857491823
  • Tree
  • List 120
  • Changed 28
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12857491823
  • 77384ec2 on github
  • Prev Build on master (#12857339791)
  • Next Build on master (#13325715866)
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

© 2025 Coveralls, Inc