diff options
| author | Alexander Potapenko <glider@google.com> | 2024-07-26 14:46:26 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-07-29 15:29:47 +0000 |
| commit | fd3c6f59243bf3d19606f100edf041f28efd1633 (patch) | |
| tree | 9d0be38f70a7f0f98a59ded384349c2e5d816f4d /pkg | |
| parent | 2fb4dcc9c10e100beedbbc223c2a9762bc45403e (diff) | |
pkg/runtest: add target arch to the properties
Without that, tests that e.g. require arch=arm64 fail on an ARM64 VM.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/runtest/run.go | 7 |
1 files changed, 4 insertions, 3 deletions
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 |
