diff --git a/bind/java/seq_test.go b/bind/java/seq_test.go index 7a2a062..d8636a2 100644 --- a/bind/java/seq_test.go +++ b/bind/java/seq_test.go @@ -52,6 +52,9 @@ func TestJavaSeqTest(t *testing.T) { // // while running the benchmark to see the results. func TestJavaSeqBench(t *testing.T) { + if testing.Short() { + t.Skip("skipping benchmark in short mode.") + } runTest(t, []string{"golang.org/x/mobile/bind/benchmark"}, "", "SeqBench") } diff --git a/bind/objc/seq_test.go b/bind/objc/seq_test.go index 87c7314..a75ac5f 100644 --- a/bind/objc/seq_test.go +++ b/bind/objc/seq_test.go @@ -48,6 +48,9 @@ func TestObjcSeqTest(t *testing.T) { // TestObjcSeqBench runs ObjC test SeqBench.m. // This requires the xcode command lines tools. func TestObjcSeqBench(t *testing.T) { + if testing.Short() { + t.Skip("skipping benchmark in short mode.") + } runTest(t, []string{"golang.org/x/mobile/bind/benchmark"}, "xcodebench", "SeqBench.m", true) }