diff options
author | yangbill <yangbill@google.com> | 2019-02-13 21:45:47 +0800 |
---|---|---|
committer | yangbill <yangbill@google.com> | 2019-02-19 22:25:50 +0800 |
commit | 4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d (patch) | |
tree | 2160508628e0619a77e47fde336d2e591038d250 /java/java.go | |
parent | 1f9e90a3043197059f73051f4496c91a41760cec (diff) |
[SOONG] Not auto-generate test config if test_suite is cts
Current soong use source code's under cts as the rule for judgement.
Should change to use test_suites define instead.
Bug: 124313692
Test: m hello_world_test, make sure test config be auog-enerated.
Modified platform_testing/tests/example/native/Android.bp
m hello_world_test, make sure test config not be auto-generatetd.
Change-Id: I1bc5216f73329d2a82d9ff29ccbede436dd2976c
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go index 880f9200e..350117467 100644 --- a/java/java.go +++ b/java/java.go @@ -1527,7 +1527,7 @@ type Test struct { } func (j *Test) GenerateAndroidBuildActions(ctx android.ModuleContext) { - j.testConfig = tradefed.AutoGenJavaTestConfig(ctx, j.testProperties.Test_config, j.testProperties.Test_config_template) + j.testConfig = tradefed.AutoGenJavaTestConfig(ctx, j.testProperties.Test_config, j.testProperties.Test_config_template, j.testProperties.Test_suites) j.data = ctx.ExpandSources(j.testProperties.Data, nil) j.Library.GenerateAndroidBuildActions(ctx) |