aboutsummaryrefslogtreecommitdiffstats
path: root/java/app.go
diff options
context:
space:
mode:
authoryangbill <yangbill@google.com>2019-02-13 21:45:47 +0800
committeryangbill <yangbill@google.com>2019-02-19 22:25:50 +0800
commit4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d (patch)
tree2160508628e0619a77e47fde336d2e591038d250 /java/app.go
parent1f9e90a3043197059f73051f4496c91a41760cec (diff)
downloadandroid_build_soong-4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d.tar.gz
android_build_soong-4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d.tar.bz2
android_build_soong-4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d.zip
[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/app.go')
-rw-r--r--java/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/app.go b/java/app.go
index 50154688..c08aefd1 100644
--- a/java/app.go
+++ b/java/app.go
@@ -443,7 +443,7 @@ type AndroidTest struct {
func (a *AndroidTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
a.generateAndroidBuildActions(ctx)
- a.testConfig = tradefed.AutoGenInstrumentationTestConfig(ctx, a.testProperties.Test_config, a.testProperties.Test_config_template, a.manifestPath)
+ a.testConfig = tradefed.AutoGenInstrumentationTestConfig(ctx, a.testProperties.Test_config, a.testProperties.Test_config_template, a.manifestPath, a.testProperties.Test_suites)
a.data = ctx.ExpandSources(a.testProperties.Data, nil)
}