summaryrefslogtreecommitdiff
path: root/android/rule_builder_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/rule_builder_test.go
parent43159bd1b7c99790d84fdedda09db3701d466f30 (diff)
parent323dc60712491c71ccdc5363c42df61f0a192487 (diff)
Merge "Make lots of tests run in parallel"
Diffstat (limited to 'android/rule_builder_test.go')
-rw-r--r--android/rule_builder_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/rule_builder_test.go b/android/rule_builder_test.go
index c41b06734..d205a5b03 100644
--- a/android/rule_builder_test.go
+++ b/android/rule_builder_test.go
@@ -264,6 +264,7 @@ func ExampleRuleBuilderCommand_NinjaEscapedString() {
}
func TestRuleBuilder(t *testing.T) {
+ t.Parallel()
fs := map[string][]byte{
"dep_fixer": nil,
"input": nil,
@@ -455,6 +456,7 @@ func testRuleBuilder_Build(ctx BuilderContext, in Path, out, outDep, outDir Writ
}
func TestRuleBuilder_Build(t *testing.T) {
+ t.Parallel()
fs := map[string][]byte{
"bar": nil,
"cp": nil,
@@ -546,6 +548,7 @@ func TestRuleBuilder_Build(t *testing.T) {
}
func Test_ninjaEscapeExceptForSpans(t *testing.T) {
+ t.Parallel()
type args struct {
s string
spans [][2]int