diff options
| author | Alexander Egorenkov <eaibmz@gmail.com> | 2025-09-29 09:12:03 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-09-30 10:56:22 +0000 |
| commit | d4133378fbfca7cdb1dd6944fc3d501d892064f9 (patch) | |
| tree | a7612b7e3441b252142cb5223d7073c9ed445a42 /pkg | |
| parent | 86341da6b45d602116fb0c60fac1641c24aedbe9 (diff) | |
pkg/kfuzztest: skip description generation test on non-amd64 arches
Skip the description generation test on non-x86 architectures if
no cross-compiler could be found.
Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/kfuzztest/description_generation_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/kfuzztest/description_generation_test.go b/pkg/kfuzztest/description_generation_test.go index d68a96b18..b697dc0f7 100644 --- a/pkg/kfuzztest/description_generation_test.go +++ b/pkg/kfuzztest/description_generation_test.go @@ -25,6 +25,9 @@ func TestBuildDescriptions(t *testing.T) { require.NoError(t, err) target := targets.Get(targets.Linux, targets.AMD64) + if target.BrokenCompiler != "" { + t.Skip("skipping the test due to broken cross-compiler:\n" + target.BrokenCompiler) + } for _, tc := range testCases { t.Run(tc.dir, func(t *testing.T) { runTest(t, target, tc) |
