diff options
Diffstat (limited to 'pkg/csource')
| -rw-r--r-- | pkg/csource/csource_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index f4cfe40a4..15dad5f34 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -43,11 +43,11 @@ func TestGenerate(t *testing.T) { continue } t.Run(target.OS+"/"+target.Arch, func(t *testing.T) { + if err := sysTarget.BrokenCompiler; err != "" { + t.Skipf("target compiler is broken: %v", err) + } full := !checked[target.OS] if full || !testing.Short() { - if err := sysTarget.BrokenCompiler; err != "" { - t.Skipf("target compiler is broken: %v", err) - } checked[target.OS] = true t.Parallel() testTarget(t, target, full) |
