diff options
Diffstat (limited to 'pkg/csource/csource_test.go')
| -rw-r--r-- | pkg/csource/csource_test.go | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index c360dac86..4fccebd92 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -17,13 +17,6 @@ import ( "github.com/google/syzkaller/sys/targets" ) -func init() { - if os.Getenv("TRAVIS") != "" { - // Otherwise tests OOM on travis. - runtime.GOMAXPROCS(1) - } -} - func TestGenerate(t *testing.T) { t.Parallel() checked := make(map[string]bool) @@ -45,6 +38,11 @@ func TestGenerate(t *testing.T) { // fatal error: asm/unistd.h: No such file or directory t.Skip("broken") } + if target.OS == "linux" && target.Arch == "arm64" { + // Episodically fails on travis with: + // collect2: error: ld terminated with signal 11 [Segmentation fault] + t.Skip("broken") + } if target.OS == "test" && target.PtrSize == 4 { // The same reason as linux/32. t.Skip("broken") |
