diff --git a/adb/Android.bp b/adb/Android.bp index 57872b0c9..9ef82bf33 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -629,6 +629,7 @@ cc_test { "libselinux", ], test_suites: ["device-tests"], + require_root: true, } python_test_host { diff --git a/libpackagelistparser/Android.bp b/libpackagelistparser/Android.bp index 0740e7d65..b56dcdb95 100644 --- a/libpackagelistparser/Android.bp +++ b/libpackagelistparser/Android.bp @@ -19,4 +19,5 @@ cc_test { "libpackagelistparser", ], test_suites: ["device-tests"], + require_root: true, }