diff options
Diffstat (limited to 'pkg/csource/csource_test.go')
| -rw-r--r-- | pkg/csource/csource_test.go | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index e48f197c3..f4cfe40a4 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -44,15 +44,14 @@ func TestGenerate(t *testing.T) { } t.Run(target.OS+"/"+target.Arch, func(t *testing.T) { full := !checked[target.OS] - if !full && testing.Short() { - return + 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) } - if err := sysTarget.BrokenCompiler; err != "" { - t.Skipf("target compiler is broken: %v", err) - } - checked[target.OS] = true - t.Parallel() - testTarget(t, target, full) testPseudoSyscalls(t, target) }) } |
