summaryrefslogtreecommitdiff
path: root/java/androidmk_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-10-07 20:40:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-10-07 20:40:38 +0000
commit45fd6ace7e6dd7c588c6cf44aa5280de7621d39b (patch)
tree857807c39d6b518409837aec3dac65d28865d1a2 /java/androidmk_test.go
parent43159bd1b7c99790d84fdedda09db3701d466f30 (diff)
parent323dc60712491c71ccdc5363c42df61f0a192487 (diff)
Merge "Make lots of tests run in parallel"
Diffstat (limited to 'java/androidmk_test.go')
-rw-r--r--java/androidmk_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/androidmk_test.go b/java/androidmk_test.go
index 075b7aa6f..359d8d7c4 100644
--- a/java/androidmk_test.go
+++ b/java/androidmk_test.go
@@ -23,6 +23,7 @@ import (
)
func TestRequired(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -42,6 +43,7 @@ func TestRequired(t *testing.T) {
}
func TestHostdex(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -72,6 +74,7 @@ func TestHostdex(t *testing.T) {
}
func TestHostdexRequired(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -103,6 +106,7 @@ func TestHostdexRequired(t *testing.T) {
}
func TestHostdexSpecificRequired(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -136,6 +140,7 @@ func TestHostdexSpecificRequired(t *testing.T) {
}
func TestDistWithTag(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo_without_tag",
@@ -172,6 +177,7 @@ func TestDistWithTag(t *testing.T) {
}
func TestDistWithDest(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -208,6 +214,7 @@ func TestDistWithDest(t *testing.T) {
}
func TestDistsWithAllProperties(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo",
@@ -265,6 +272,7 @@ func TestDistsWithAllProperties(t *testing.T) {
}
func TestDistsWithTag(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_library {
name: "foo_without_tag",
@@ -312,6 +320,7 @@ func TestDistsWithTag(t *testing.T) {
}
func TestJavaSdkLibrary_RequireXmlPermissionFile(t *testing.T) {
+ t.Parallel()
ctx, config := testJava(t, `
java_sdk_library {
name: "foo-shared_library",