diff --git a/cc/sanitize_test.go b/cc/sanitize_test.go index 580adfac7..b102d33f8 100644 --- a/cc/sanitize_test.go +++ b/cc/sanitize_test.go @@ -314,6 +314,10 @@ func TestTsan(t *testing.T) { } func TestMiscUndefined(t *testing.T) { + if runtime.GOOS != "linux" { + t.Skip("requires linux") + } + bp := ` cc_binary { name: "bin_with_ubsan",