Skip to contentSkip to conversation

oeqa/selftest/rust: Add exclusion to fix riscv64 builds

PATCH New Richard Purdie 1 participant 2 messages May 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 oeqa/selftest/rust: Add exclusion to fix riscv64 builds

There was one failure occurring in rust testing for qemuriscv64. Exclude that test so we can enable in automated testing.

---
 meta/lib/oeqa/selftest/cases/rust.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oeqa/selftest/cases/rust.py +1 -0
index f84b87d0f58..484fe2416e3 100644
@@ -86,6 +86,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
                             'tests/ui/abi/stack-probes-lto.rs',
                             'tests/ui/abi/stack-probes.rs',
                             'tests/ui/codegen/mismatched-data-layouts.rs',
+                            'tests/codegen/rust-abi-arch-specific-adjustment.rs',
                             'tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs',
                             'tests/ui/feature-gates/version_check.rs',
                             'tests/ui-fulldeps/',
#1 lore raw

PATCH 2/2 ptest-packagelists: Add riscv64 exclusions so we can add testing

Add failing tests to the list of broken tests for riscv64 so we can then start running the working tests and spot regressions.

We can them aim to remove these over time as they start working.

---
 meta/conf/distro/include/ptest-packagelists.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/conf/distro/include/ptest-packagelists.inc +4 -0
index 3658dd2adb0..7a0eb8266dc 100644
@@ -135,6 +135,10 @@ PTESTS_SLOW:remove:riscv32 = "lttng-tools strace "
 PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace"
 PTESTS_SLOW:append:libc-musl = " libc-test"
 
+# These tests don't yet pass for riscv64
+PTESTS_SLOW:remove:riscv64 = "tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl"
+PTESTS_PROBLEMS:append:riscv64 = "tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl"
+
 #    ruby \ # Timeout
 #    rt-tests \ # Needs to be checked whether it runs at all
 #    bash \ # Test outcomes are non-deterministic by design