proc_test: fix test failure on macOS

Something changed on Travis side that broke TestIssue877. Disable that
test when $TRAVIS is set to true.
This commit is contained in:
aarzilli 2018-08-01 17:39:13 +02:00 committed by Derek Parker
parent a117cf2c00
commit 568251e43f

@ -2929,6 +2929,11 @@ func TestIssue877(t *testing.T) {
if runtime.GOOS != "darwin" && testBackend == "lldb" {
return
}
if os.Getenv("TRAVIS") == "true" && runtime.GOOS == "darwin" {
// Something changed on Travis side that makes the Go compiler fail if
// DYLD_LIBRARY_PATH is set.
t.Skip("broken")
}
const envval = "/usr/local/lib"
os.Setenv("DYLD_LIBRARY_PATH", envval)
withTestProcess("issue877", t, func(p proc.Process, fixture protest.Fixture) {