Repository navigation
Convert software regressions to individual GoogleTest cases - #18
Merged
thweetkomputer merged 1 commit intoOct 19, 2026
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Software regressions currently bundle multiple scenarios into standalone
*_checkprograms, so a failure is reported for the whole executable and individual scenarios cannot be selected. Convert the automatic regressions to GoogleTest cases discovered individually by CTest, withbycorf_names, per-case timeouts, labels, and failure reports.Share the runtime harness across timer, connection, storage-lifetime, buffered-read, and io_uring tests; expose queue type/capacity combinations as typed cases. Preserve the Task regression's 512 KiB stack through re-exec, and isolate immutable backend selection, DPDK/EAL, SPDK stubs, and FreeBSD initialization in subprocesses. GoogleTest is a test-only dependency, reuses embedding-project targets, and otherwise uses the same pinned version as Lavik. Update the build/test documentation; command-line hardware and environment probes retain their standalone entry points.
Validation on Linux ARM64:
BYCORF_KERNEL_BYPASS=ON: all 67 CTest cases passed, including virtual/stub DPDK, SPDK, and FreeBSD coverage.ctest --test-dir build_ci -R '^bycorf_' --output-on-failure --no-tests=errorpassed all 49 cases.pre-commit runandgit diff --cached --checkpassed.Physical-device checks and x86-64 were not run locally. Production behavior and architecture boundaries are unchanged; the compatibility change is the replacement of automatic
*_checkexecutable/test names with the documented GoogleTest targets and cases.