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

zeromq / libzmq / 21289232285 / 1
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 23 Jan 2026 02:20PM UTC
Files 214
Run time 5s
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

23 Jan 2026 02:17PM UTC coverage: 74.971%. Remained the same
21289232285.1

push

github

bluca
Problem: CACHELINE_SIZE conditions check string after numeric comparisons

When getconf returns "undefined" (e.g., on s390x under qemu-user), the
STREQUAL "undefined" check comes after EQUAL 0 and EQUAL -1. While this
works in current CMake versions, performing numeric comparisons on
non-numeric strings before string comparisons is fragile and could have
undefined behavior in some CMake versions.

Solution: reorder conditions to check strings before numeric comparisons

Move STREQUAL "undefined" before the EQUAL comparisons. This ensures
proper string matching is attempted before any numeric coercion, making
the code more robust and easier to understand.

Verified with qemu-user s390x emulation (CMake 3.22):
- getconf LEVEL1_DCACHE_LINESIZE returns "undefined"
- Both orderings work, but string-first is safer

Fixes #4834

14842 of 19797 relevant lines covered (74.97%)

31485.02 hits per line

Source Files on job 21289232285.1
  • Tree
  • List 214
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21289232285
  • 51a5a9cb on github
  • Prev Job for on master (#21262006580.1)
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