Skip to content

Commit

Permalink
testing: litevm: enable testing on uek-next
Browse files Browse the repository at this point in the history
Previous commits have resolved all of the compatibility issues as of
UEK-next 6.9.0-2. Enable the tests so we can run them in CI.

Signed-off-by: Stephen Brennan <[email protected]>
  • Loading branch information
brenns10 committed Jul 2, 2024
1 parent 03d275f commit 80380e1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions testing/litevm/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class TestKernel:
def __init__(
self,
ol_ver: int,
uek_ver: int,
uek_ver: Union[int, str],
arch: str,
pkgs: List[str],
cache_dir: Optional[Path] = None,
Expand Down Expand Up @@ -249,21 +249,21 @@ def get_oot_modules(self) -> List[Path]:
# We also apparently need to add "-modules-core" RPMs, because there weren't
# enough kernel RPMs yet.
# Tests currently fail on UEK-next. Uncomment this to enable the tests:
# TestKernel(
# 9,
# "next",
# "x86_64",
# [
# "kernel-ueknext-core",
# "kernel-ueknext-modules",
# "kernel-ueknext-modules-core",
# ],
# yum_fmt=(
# "https://yum.oracle.com/repo/OracleLinux/OL{ol_ver}/"
# "developer/UEK{uek_ver}/{arch}/"
# ),
# pkgbase="kernel-ueknext",
# ),
TestKernel(
9,
"next",
"x86_64",
[
"kernel-ueknext-core",
"kernel-ueknext-modules",
"kernel-ueknext-modules-core",
],
yum_fmt=(
"https://yum.oracle.com/repo/OracleLinux/OL{ol_ver}/"
"developer/UEK{uek_ver}/{arch}/"
),
pkgbase="kernel-ueknext",
),
# UEK7 switches from a single "kernel-uek" to "-core" and "-modules".
# The "kernel-uek" package still exists as a placeholder.
TestKernel(9, 7, "x86_64", ["kernel-uek-core", "kernel-uek-modules"]),
Expand Down

0 comments on commit 80380e1

Please sign in to comment.