summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Shi <dshi@google.com> 2019-09-13 09:17:17 -0700
committer Dan Shi <dshi@google.com> 2019-09-13 09:17:17 -0700
commit80ada597e6145037bbf98e05faf8f19ad7102aa9 (patch)
tree84030ca9b3b27c0976cf1aec50e4bedcdb6a7b83
parent45f75b719dc480e915b9fce16a1e417423b2caf1 (diff)
Add require_root to binderSafeInterfaceTest and binderLibTest
After aosp/1120806 is landed, all gtest without require_root set to true will default to have adb unroot on the device. Bug: 140123924 Test: atest Change-Id: Ie59bb9e04ffbf6827dfcd832713db8b2cff50528
-rw-r--r--libs/binder/tests/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/tests/Android.bp b/libs/binder/tests/Android.bp
index bc457ce30c..f25e954671 100644
--- a/libs/binder/tests/Android.bp
+++ b/libs/binder/tests/Android.bp
@@ -70,6 +70,7 @@ cc_test {
"libutils",
],
test_suites: ["device-tests"],
+ require_root: true,
}
cc_test {
@@ -136,6 +137,7 @@ cc_test {
"libutils",
],
test_suites: ["device-tests"],
+ require_root: true,
}
aidl_interface {