summaryrefslogtreecommitdiff
path: root/android/depset_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 /android/depset_test.go
parent43159bd1b7c99790d84fdedda09db3701d466f30 (diff)
parent323dc60712491c71ccdc5363c42df61f0a192487 (diff)
Merge "Make lots of tests run in parallel"
Diffstat (limited to 'android/depset_test.go')
-rw-r--r--android/depset_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/depset_test.go b/android/depset_test.go
index c328127b1..1ad27ebad 100644
--- a/android/depset_test.go
+++ b/android/depset_test.go
@@ -64,6 +64,7 @@ func ExampleDepSet_ToSortedList() {
// Tests based on Bazel's ExpanderTestBase.java to ensure compatibility
// https://github.com/bazelbuild/bazel/blob/master/src/test/java/com/google/devtools/build/lib/collect/nestedset/ExpanderTestBase.java
func TestDepSet(t *testing.T) {
+ t.Parallel()
a := PathForTesting("a")
b := PathForTesting("b")
c := PathForTesting("c")
@@ -274,6 +275,7 @@ func TestDepSet(t *testing.T) {
}
func TestDepSetInvalidOrder(t *testing.T) {
+ t.Parallel()
orders := []DepSetOrder{POSTORDER, PREORDER, TOPOLOGICAL}
run := func(t *testing.T, order1, order2 DepSetOrder) {