Revert "Force gtest to use adb unroot if required_root is false or not set"
This reverts commit b2cb324ce1
.
Reason for revert: broke host-side test mapping
Change-Id: Iea63395d525444421fc27ef5bc660362eba11db0
This commit is contained in:
@@ -317,10 +317,6 @@ func (test *testBinary) install(ctx ModuleContext, file android.Path) {
|
|||||||
var configs []tradefed.Config
|
var configs []tradefed.Config
|
||||||
if Bool(test.Properties.Require_root) {
|
if Bool(test.Properties.Require_root) {
|
||||||
configs = append(configs, tradefed.Preparer{"com.android.tradefed.targetprep.RootTargetPreparer", nil})
|
configs = append(configs, tradefed.Preparer{"com.android.tradefed.targetprep.RootTargetPreparer", nil})
|
||||||
} else {
|
|
||||||
var options []tradefed.Option
|
|
||||||
options = append(options, tradefed.Option{"force-root", "false"})
|
|
||||||
configs = append(configs, tradefed.Preparer{"com.android.tradefed.targetprep.RootTargetPreparer", options})
|
|
||||||
}
|
}
|
||||||
if Bool(test.Properties.Disable_framework) {
|
if Bool(test.Properties.Disable_framework) {
|
||||||
var options []tradefed.Option
|
var options []tradefed.Option
|
||||||
|
Reference in New Issue
Block a user