From 18d239c5c503468c5500d5479d2818b6baa74e2f Mon Sep 17 00:00:00 2001 From: Jeffrey Huang Date: Fri, 24 Apr 2020 10:43:08 -0700 Subject: [PATCH] Add require root to libstats tests root is required for coverage tests Bug: 154652564 Test: m -j Change-Id: I3325565818a275a069aed35a34bf3a58ee4b5bfc --- libstats/pull/Android.bp | 1 + libstats/socket/Android.bp | 1 + 2 files changed, 2 insertions(+) diff --git a/libstats/pull/Android.bp b/libstats/pull/Android.bp index c9f13a3fd..2658639c0 100644 --- a/libstats/pull/Android.bp +++ b/libstats/pull/Android.bp @@ -101,4 +101,5 @@ cc_test { "-Wno-unused-function", "-Wno-unused-parameter", ], + require_root: true, } diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp index 3f4208868..f386243c4 100644 --- a/libstats/socket/Android.bp +++ b/libstats/socket/Android.bp @@ -131,4 +131,5 @@ cc_test { suffix: "64", } }, + require_root: true, }