From 4f41bc2bed906b3baf973ffcdcf3f7f0cb987a1d Mon Sep 17 00:00:00 2001 From: yangbill Date: Wed, 13 Feb 2019 21:45:47 +0800 Subject: [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 --- python/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/test.go') diff --git a/python/test.go b/python/test.go index 43ee54c8..55b0ab53 100644 --- a/python/test.go +++ b/python/test.go @@ -50,7 +50,7 @@ func (test *testDecorator) bootstrapperProps() []interface{} { func (test *testDecorator) install(ctx android.ModuleContext, file android.Path) { test.testConfig = tradefed.AutoGenPythonBinaryHostTestConfig(ctx, test.testProperties.Test_config, - test.testProperties.Test_config_template) + test.testProperties.Test_config_template, test.binaryDecorator.binaryProperties.Test_suites) test.binaryDecorator.pythonInstaller.dir = "nativetest" test.binaryDecorator.pythonInstaller.dir64 = "nativetest64" -- cgit v1.2.3