From 2a109bc82089e5c270173d90a65ad34f7a8e00c0 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Fri, 2 Dec 2022 09:36:01 -0500 Subject: [PATCH] Disable misc ubsan Soong test on mac Test: run on mac build Change-Id: I869775ce76fd619557bf6833f99c5b924bcc5a8e --- cc/sanitize_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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",