Skip to content

Make per_file test script use the codechecker toolchain - #266

Merged
furtib merged 2 commits into
Ericsson:mainfrom
furtib:hotfix-toolchain-per-file
Aug 11, 2026
Merged

Make per_file test script use the codechecker toolchain#266
furtib merged 2 commits into
Ericsson:mainfrom
furtib:hotfix-toolchain-per-file

Conversation

@furtib

@furtib furtib commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Why:
The test script (that runs CodeChecker parse) for the per_file rule does not use the CodeChecker toolchain.
Also reproducible by using Bazel 9 (If load statements are correctly placed).

What:

  • Rewrote the per_file test script to use the CodeChecker, specified by the toolchain.

Addresses:
Fixes: #268

@furtib
furtib requested a review from Szelethus August 3, 2026 12:35
@furtib furtib self-assigned this Aug 3, 2026
@furtib furtib added the bug Something isn't working label Aug 3, 2026
@furtib
furtib force-pushed the hotfix-toolchain-per-file branch from f989b08 to cfd14b1 Compare August 5, 2026 11:01
@furtib
furtib force-pushed the hotfix-toolchain-per-file branch from cfd14b1 to 6f6790c Compare August 6, 2026 13:33

@Szelethus Szelethus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I understand its pretty hard to write a test for this; is it quite impossible?

@furtib

furtib commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

We would need Bazel 9 support or a remote executor to test.

@furtib
furtib merged commit 79edd08 into Ericsson:main Aug 11, 2026
4 checks passed
@furtib
furtib deleted the hotfix-toolchain-per-file branch August 11, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per_file test action does not use the codechecker toolchain

2 participants