Skip to content

tests: build: run baseline build for Kconfig updates #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

horms
Copy link
Contributor

@horms horms commented Aug 9, 2024

Some Kconfig updates may result in .config changes which may in turn alter the preprocessor output of header files, which may in turn result in file rebuilds.

Due to the incremental way in which these tests may be run over a patchset this can result in inaccurate incumbent warning counts for patches, other than the first patch in a series for which a baseline build already occurs. This can, in turn, lead to false positives about new warnings being introduced.

Some discussion of this problem can be found at:

While possibly heavy handed, the solution in this patch does seem address the problem. And can always be improved upon later.

Some Kconfig updates may result in .config changes which may
in turn alter the preprocessor output of header files, which
may in turn result in file rebuilds.

Due to the incremental way in which these tests may be run over a
patchset this can result in inaccurate incumbent warning counts for
patches, other than the first patch in a series for which a baseline
build already occurs. This can, in turn, lead to false positives
about new warnings being introduced.

Some discussion of this problem can be found at:
- Re: [PATCH v3 08/12] testing: net-drv: add basic shaper test
  https://lore.kernel.org/netdev/20240808122042.GA3067851@kernel.org/

While possibly heavy handed, the solution in this patch does seem
address the problem. And can always be improved upon later.

Signed-off-by: Simon Horman <horms@kernel.org>
@kuba-moo kuba-moo merged commit 88a5cda into linux-netdev:main Aug 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants