summaryrefslogtreecommitdiff
path: root/python/test.go
diff options
context:
space:
mode:
author Tahsin Loqman <tahsinl@google.com> 2022-12-19 16:27:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-12-19 16:27:25 +0000
commit77dc7d0839c53d76092e7b75ba3c3d4734542bbd (patch)
tree1a4a81ebfdcb690ca78693761cd6ed33fb2e1caa /python/test.go
parent8ec823cba166a41eb0e9e5ff8fe679e691fec678 (diff)
Revert "Allow adding extra tradefed options in the Android.bp file"
This reverts commit 8ec823cba166a41eb0e9e5ff8fe679e691fec678. Reason for revert: DroidMonitor: Potential culprit for Bug b/262965953 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I236cc36981d8b30527ca286632727f8ca267e969
Diffstat (limited to 'python/test.go')
-rw-r--r--python/test.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/python/test.go b/python/test.go
index 5781df7c7..b9b346549 100644
--- a/python/test.go
+++ b/python/test.go
@@ -67,14 +67,9 @@ func (test *testDecorator) bootstrapperProps() []interface{} {
}
func (test *testDecorator) install(ctx android.ModuleContext, file android.Path) {
- test.testConfig = tradefed.NewMaybeAutoGenTestConfigBuilder(ctx).
- SetTestConfigProp(test.testProperties.Test_config).
- SetTestTemplateConfigProp(test.testProperties.Test_config_template).
- SetTestSuites(test.binaryDecorator.binaryProperties.Test_suites).
- SetAutoGenConfig(test.binaryDecorator.binaryProperties.Auto_gen_config).
- SetDeviceTemplate("${PythonBinaryHostTestConfigTemplate}").
- SetHostTemplate("${PythonBinaryHostTestConfigTemplate}").
- Build()
+ test.testConfig = tradefed.AutoGenPythonBinaryHostTestConfig(ctx, test.testProperties.Test_config,
+ test.testProperties.Test_config_template, test.binaryDecorator.binaryProperties.Test_suites,
+ test.binaryDecorator.binaryProperties.Auto_gen_config)
test.binaryDecorator.pythonInstaller.dir = "nativetest"
test.binaryDecorator.pythonInstaller.dir64 = "nativetest64"