oeqa/selftest/clang: skip test suites on qemuppc
PATCH 1/1 oeqa/selftest/clang: skip test suites on qemuppc
From: Peter Tatrai <[email protected]>
The LLVM, Clang and LLD oe-selftests are currently not practical to run on qemuppc.
qemuppc uses the QEMU mac99 machine, which only supports a single CPU and has a RAM limit below the test's current defaults. To boot the test image at all, the test would need qemuppc-specific resource handling, reducing the QEMU SMP setting from 4 to 1 and lowering the requested memory.
Even with those adjustments, the test run is not useful in practice on 32-bit PowerPC: running the clang/llvm lit suites with a single vCPU takes many hours, and the run still ends with a consistent set of failures in clang-repl / LLVM ORC JIT related tests. Those would need to be added to the excluded tests for this target before the suite could pass.
Rather than carrying qemuppc-specific resource handling plus an additional set of JIT-related exclusions for test runs that are prohibitively slow, skip these LLVM, Clang and LLD test suites on qemuppc for now.
--- meta/lib/oeqa/selftest/cases/clang.py | 4 ++++ 1 file changed, 4 insertions(+)
meta/lib/oeqa/selftest/cases/clang.py +4 -0
@@ -5,6 +5,7 @@ # import contextlib from oeqa.core.decorator import OETestTag +from oeqa.core.decorator.data import skipIfMachine from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import bitbake, get_bb_var, runqemu from oeqa.utils.nfs import unfs_server
@@ -187,6 +188,7 @@ class LLVMSelfTestSystemEmulated(ClangFamilyBase): "tools/yaml2obj/GOFF/GOFF-header-settings\\.yaml$", ] + @skipIfMachine("qemuppc", "qemuppc cannot run this lit test suite within practical resource and runtime limits") def test_llvm(self): bitbake("llvm -c install") self.build_core_image()
@@ -298,6 +300,7 @@ class ClangSelfTestSystemEmulated(ClangFamilyBase): "Sema/fp-eval-pragma-with-float-double_t-3\\.c$", ] + @skipIfMachine("qemuppc", "qemuppc cannot run this lit test suite within practical resource and runtime limits") def test_clang(self): bitbake("clang -c install") self.build_core_image()
@@ -327,6 +330,7 @@ class LLDSelfTestSystemEmulated(ClangFamilyBase): "ELF/reproduce\\.s$", ] + @skipIfMachine("qemuppc", "qemuppc cannot run this lit test suite within practical resource and runtime limits") def test_lld(self): bitbake("lld -c install") self.build_core_image()
Signature · 1 line
2.39.5