From fd85ed48854729938fad986fc81e1c57a667fb36 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 16 Sep 2018 11:36:38 +0200 Subject: pkg/runtest, pkg/csource: don't run tests on openbsd The tests are currently broken on openbsd. --- pkg/csource/csource_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/csource/csource_test.go') diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index 397ba4b28..8545efba8 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -7,6 +7,7 @@ import ( "fmt" "math/rand" "os" + "runtime" "strings" "testing" "time" @@ -16,6 +17,10 @@ import ( ) func TestGenerate(t *testing.T) { + switch runtime.GOOS { + case "openbsd": + t.Skipf("broken on %v", runtime.GOOS) + } t.Parallel() for _, target := range prog.AllTargets() { switch target.OS { -- cgit mrf-deployment