Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Run selftests in scx CI #191

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Run selftests in scx CI #191

merged 4 commits into from
Apr 30, 2024

Conversation

Byte-Lab
Copy link
Collaborator

We have a fairly comprehensive set of selftests in
tools/selftests/sched_ext. Let's run them in CI to
avoid breakages.

CI seems to require bc and gcc-multilib. Let's add those to the list of
Ubuntu packages we install.

Signed-off-by: David Vernet <void@manifault.com>
We're currently invoking vng only when iterating over the schedulers in
tools/sched_ext. We should also be running our selftests in CI, so let's
refactor that logic to a new, separate runtest() bash function. Along
the way, remove some extra, unnecessary scx_layered-specific logic. We
no longer ship scx_layered in the sched_ext repo, so we can remove it.

Signed-off-by: David Vernet <void@manifault.com>
We no longer have UEI_KIND or UEI_ECODE. Adjust the hotplug selftest
accordingly. We'll update CI to run these tests in a subsequent patch.

Signed-off-by: David Vernet <void@manifault.com>
We have a fairly comprehensive set of selftests in
tools/selftests/sched_ext. Let's run them in CI.

Signed-off-by: David Vernet <void@manifault.com>
@Byte-Lab
Copy link
Collaborator Author

Please don't merge before this finishes running. It worked fine locally but let's make sure CI runs OK in an actual runner.

Copy link
Collaborator

@arighi arighi left a comment

Choose a reason for hiding this comment

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

minor nit, but overall LGTM

.github/workflows/test-kernel.yml Show resolved Hide resolved
@Byte-Lab Byte-Lab merged commit 56ed34c into sched_ext Apr 30, 2024
1 check passed
@Byte-Lab Byte-Lab deleted the ci branch April 30, 2024 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants