summaryrefslogtreecommitdiff
path: root/tradefed
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2023-08-19 00:38:15 +0000
committer Yu Liu <yudiliu@google.com> 2023-08-19 00:38:15 +0000
commit574e35365dd8ee66e5200ffa41dd04d3c2a7bfe4 (patch)
tree36989c2b80e3e8d8aaaca77ad9fcc1eabc52101f /tradefed
parenta207d486e1de9071c6e167588299d639fa876f22 (diff)
Fix a bug where the default AndroidTest.xml was not picked up.
Bug: 280028705 Test: local build Change-Id: Ie7510c6a07505d6d6139407cd9b9920f870ef753
Diffstat (limited to 'tradefed')
-rw-r--r--tradefed/autogen_bazel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tradefed/autogen_bazel.go b/tradefed/autogen_bazel.go
index d3109d934..9575f7aef 100644
--- a/tradefed/autogen_bazel.go
+++ b/tradefed/autogen_bazel.go
@@ -99,7 +99,7 @@ func GetTestConfig(
}
// check for default AndroidTest.xml
- defaultTestConfigPath := ctx.ModuleDir() + "/AndroidTest.xml"
+ defaultTestConfigPath := "AndroidTest.xml"
c, _ := android.BazelStringOrLabelFromProp(ctx, &defaultTestConfigPath)
return c.Value
}