diff options
| author | Alexander Egorenkov <eaibmz@gmail.com> | 2024-07-16 10:04:36 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-07-16 15:05:09 +0000 |
| commit | 15b2c47cbd15441ae86ec825cca498fc0f256757 (patch) | |
| tree | 9dcf700a963c28eb50d7f0190aadecaf4de07479 /pkg/runtest/run_test.go | |
| parent | b66b37bddfae6c25ab8146aae081e25ed554eafd (diff) | |
pkg/runtest: skip 32bit cover tests on architectures supporting only 64bit
Fixes: a6f99ace4014 ("pkg/rpcserver: move kernel test/data range checks from executor")
Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Diffstat (limited to 'pkg/runtest/run_test.go')
| -rw-r--r-- | pkg/runtest/run_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/runtest/run_test.go b/pkg/runtest/run_test.go index 745087b6d..1458a1c9a 100644 --- a/pkg/runtest/run_test.go +++ b/pkg/runtest/run_test.go @@ -369,6 +369,10 @@ func testCover(t *testing.T, target *prog.Target) { if test.Is64Bit { vmArch = targets.TestArch64 } + sysTarget := targets.Get(targets.TestOS, vmArch) + if sysTarget.BrokenCompiler != "" { + t.Skipf("skipping due to broken compiler:\n%v", sysTarget.BrokenCompiler) + } ctx := startRPCServer(t, target, executor, source, rpcParams{ vmArch: vmArch, maxSignal: test.MaxSignal, |
