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

bemanproject / expected / 41386639177
98%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 04:10AM UTC
Jobs 1
Files 3
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

02 Nov 2026 04:06AM UTC coverage: 97.529%. Remained the same
41386639177

push

github

web-flow
Read the EXPECT lines in the xfail driver, when the test runs (#112)

## Summary

- The driver now receives the source path (`-DBEMAN_XFAIL_EXPECT_FILE`)
and reads the `// EXPECT: "<regex>"` lines when the test runs, instead
of the regex being read at configure time and baked into the test
command. ctest loads test definitions at startup, so after editing an
EXPECT line the first bare `ctest` run matched the old regex even though
the nested build regenerated the test file. Edits now take effect on the
next run with no reconfigure or rebuild, and the source is no longer a
configure dependency.
- The scan moves to `cmake/beman-xfail-compile-expect.cmake`, shared by
the driver and by `beman_add_xfail_compile_test()`, which still rejects
a source with no EXPECT line at configure time.
- The scan uses string operations instead of `file(STRINGS)` and a list.
A regex with an unbalanced `[` (such as `\[with R = .+foo`) stops CMake
splitting the list at the next `;`, so two EXPECT lines merged and the
module rejected them for containing a semicolon. beman.transcode hit
this on its first use of the module (steve-downey/transcode#138).
- An EXPECT passed as an argument keeps its no-semicolon rule; one read
from the source may contain `;`.

No registration in `tests/beman/expected/CMakeLists.txt` changes. The
three files are identical to the copies now in beman.transcode.

## Test plan

- [x] `ctest -L xfail-compile` under gcc-16 (Asan): 59/59 pass
- [x] `ctest -L xfail-compile` under clang-23 (Asan): 59/59 pass
- [x] In beman.transcode with the same files: 27/27 under both
compilers, and a broken EXPECT line fails the next bare `ctest` run
without a reconfigure
- [x] `pre-commit run -a` passes (gersemi 0.29.2)

829 of 850 relevant lines covered (97.53%)

22.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41386639177.1 02 Nov 2026 04:10AM UTC 3
97.53
GitHub Action Run
Source Files on build 41386639177
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41386639177
  • 396d94d6 on github
  • Prev Build on main (#40745202438)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc