From 8ed7a840e782d465096a013820f173d318fb6d75 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Fri, 27 Dec 2019 15:59:01 +0100 Subject: [PATCH] tests: disable function call injection tests on macOS on Travis-CI Updates #1802 --- pkg/proc/test/support.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/proc/test/support.go b/pkg/proc/test/support.go index 8b502d0e..b49c71ec 100644 --- a/pkg/proc/test/support.go +++ b/pkg/proc/test/support.go @@ -311,6 +311,10 @@ func MustSupportFunctionCalls(t *testing.T, testBackend string) { if testBackend == "rr" || (runtime.GOOS == "darwin" && testBackend == "native") { t.Skip("this backend does not support function calls") } + + if runtime.GOOS == "darwin" && os.Getenv("TRAVIS") == "true" { + t.Skip("function call injection tests are failing on macOS on Travis-CI (see #1802)") + } } // DefaultTestBackend changes the value of testBackend to be the default -- GitLab