summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-06-09 15:09:22 -0700
committer Colin Cross <ccross@android.com> 2020-06-10 22:48:16 -0700
commita6384821f9dbcd515e34923f2d8cfd175e69aac4 (patch)
tree00df9516adaba0e8780ce1358044357391c3b52f /rust/test.go
parentbf488e10e80594460f9be217ffac0057bf2f748e (diff)
Fix using generated test configs for sh_test, python_test and rust_test modules
Annotate the test config properties with android:"path", and always use LOCAL_FULL_TEST_CONFIG to pass the path to Make. Bug: 157621988 Test: manual Change-Id: I1c020e642f83d994d63c9e9cb56e686086d5acaa
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/test.go b/rust/test.go
index 94568c1cc..10c278597 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -25,11 +25,11 @@ import (
type TestProperties struct {
// the name of the test configuration (for example "AndroidTest.xml") that should be
// installed with the module.
- Test_config *string `android:"arch_variant"`
+ Test_config *string `android:"path,arch_variant"`
// the name of the test configuration template (for example "AndroidTestTemplate.xml") that
// should be installed with the module.
- Test_config_template *string `android:"arch_variant"`
+ Test_config_template *string `android:"path,arch_variant"`
// list of compatibility suites (for example "cts", "vts") that the module should be
// installed into.