From fd3c6f59243bf3d19606f100edf041f28efd1633 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Fri, 26 Jul 2024 14:46:26 +0200 Subject: pkg/runtest: add target arch to the properties Without that, tests that e.g. require arch=arm64 fail on an ARM64 VM. --- pkg/runtest/run.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pkg') diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go index 62d11ebdb..eb1d0b131 100644 --- a/pkg/runtest/run.go +++ b/pkg/runtest/run.go @@ -233,9 +233,10 @@ nextSandbox: } } properties := map[string]bool{ - "manual": ctx.Tests != "", // "manual" tests run only if selected by the filter explicitly. - "sandbox=" + sandbox: true, - "bigendian": sysTarget.BigEndian, + "manual": ctx.Tests != "", // "manual" tests run only if selected by the filter explicitly. + "sandbox=" + sandbox: true, + "bigendian": sysTarget.BigEndian, + "arch=" + ctx.Target.Arch: true, } for _, threaded := range []bool{false, true} { name := name -- cgit mrf-deployment