Repository navigation
kbuild: fix nested kselftest suite results and tolerate unreadable reports - #3287
Draft
nuclearcat wants to merge 2 commits into
Draft
nuclearcat wants to merge 2 commits into
nuclearcat wants to merge 2 commits into
Conversation
Fall back to the installed file list when the report or its version cannot be decoded. Check the version before opening the report and return early for a failed or skipped aggregate build. Cover invalid UTF-8 in both optional files. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
On arm64, the x86/bugs suite installs scripts under x86/bugs even when the x86 suite installs nothing. Counting those files for both suites gives x86 a false pass. Use the most specific declared target for both report records and installed files when a build report is available. Keep the historical presence check for kernels without a usable report. Cover nested targets and internal subdirectories in both modes. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
This branch has not been deployed
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.
Follow-up to #3264 with two fixes for per-suite kselftest build results.
x86/bugsinstalls Python scripts underx86/bugs/whilex86can install nothing. Those artifacts now givex86/bugsa pass andx86a skip. Kernels without a usable report keep the historical presence check.Each commit includes its regression tests. All 78 tests in
tests/test_kbuild.pypass at the PR head, along with Ruff lint and formatting. The full suite had 308 passes and two rootfs CLI failures, both reproduced on the base commit. Both tests expect 18 rootfs configurations and find 20.