Skip to content
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

internal: add a way to write portable feature tests #1597

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Oct 24, 2024

Feature tests are used to enable new features in a backwards compatible manner. They exercise very specific code paths in the kernel. It makes sense to assume that the existing feature tests will not work as intended when porting to a new platform.

Change the NewFeatureTest constructor to take a list of versions, which can be used to specify which operating systems are supported.

Feature tests are used to enable new features in a backwards compatible
manner. They exercise very specific code paths in the kernel. It makes
sense to assume that the existing feature tests will not work as intended
when porting to a new platform.

Change the NewFeatureTest constructor to take a list of versions, which
can be used to specify which operating systems are supported.

Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb requested a review from ti-mo October 24, 2024 09:53
@lmb lmb requested review from dylandreimerink, mmat11, rgo3 and a team as code owners October 24, 2024 09:53
@ti-mo ti-mo merged commit 96253c5 into cilium:main Oct 24, 2024
17 checks 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.

3 participants