Skip to content
Snippets Groups Projects
Unverified Commit 13d81543 authored by Jens Reidel's avatar Jens Reidel
Browse files

core: arch: Add ppc64le qemu mapping (MR 2476)


Signed-off-by: default avatarJens Reidel <adrian@travitia.xyz>
parent 822e89ed
Branches
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ class Arch(enum.Enum):
Arch.x86: "i386",
Arch.armhf: "arm",
Arch.armv7: "arm",
Arch.ppc64le: "ppc64",
}
return mapping.get(self, self.value)
......
......@@ -44,7 +44,7 @@ def test_valid_arches():
assert Arch.armhf.qemu() == "arm"
assert Arch.armv7.qemu() == "arm"
assert Arch.ppc64.qemu() == "ppc64"
assert Arch.ppc64le.qemu() == "ppc64le"
assert Arch.ppc64le.qemu() == "ppc64"
# Check that Arch.cpu_emulation_required() works
assert Arch.native() == Arch.x86_64 or Arch.x86_64.cpu_emulation_required()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment