diff --git a/bind/java/seq_test.go b/bind/java/seq_test.go index 3e82a56..07d02f3 100644 --- a/bind/java/seq_test.go +++ b/bind/java/seq_test.go @@ -55,7 +55,7 @@ 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") + runTest(t, []string{"golang.org/x/mobile/bind/testdata/benchmark"}, "", "SeqBench") } // runTest runs the Android java test class specified with javaCls. If javaPkg is diff --git a/bind/objc/seq_test.go b/bind/objc/seq_test.go index c3f86f4..941d6e4 100644 --- a/bind/objc/seq_test.go +++ b/bind/objc/seq_test.go @@ -51,7 +51,7 @@ 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) + runTest(t, []string{"golang.org/x/mobile/bind/testdata/benchmark"}, "xcodebench", "SeqBench.m", true) } // TestObjcSeqWrappers runs ObjC test SeqWrappers.m. diff --git a/bind/benchmark/benchmark.go b/bind/testdata/benchmark/benchmark.go similarity index 100% rename from bind/benchmark/benchmark.go rename to bind/testdata/benchmark/benchmark.go