summaryrefslogtreecommitdiffstats
path: root/logcat/tests
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-01 17:19:47 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-02 13:12:04 -0700
commit1c950479393d42d18829d4009dbdb3a7f03acbb7 (patch)
tree1ba86b1f06f7df22e46ed2c022685fd71589d1bc /logcat/tests
parent223fc42b5e289e882f67c893374ffbef595a6901 (diff)
downloadsystem_core-1c950479393d42d18829d4009dbdb3a7f03acbb7.zip
system_core-1c950479393d42d18829d4009dbdb3a7f03acbb7.tar.gz
system_core-1c950479393d42d18829d4009dbdb3a7f03acbb7.tar.bz2
logd: liblog: logcat: enable prune features for user
- Enable whitelist, blacklist and logsize tuneables for user Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
Diffstat (limited to 'logcat/tests')
-rw-r--r--logcat/tests/Android.mk4
-rw-r--r--logcat/tests/logcat_test.cpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/logcat/tests/Android.mk b/logcat/tests/Android.mk
index 733af31..d42b3d0 100644
--- a/logcat/tests/Android.mk
+++ b/logcat/tests/Android.mk
@@ -30,10 +30,6 @@ test_c_flags := \
-Werror \
-fno-builtin
-ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),)
-test_c_flags += -DUSERDEBUG_BUILD=1
-endif
-
test_src_files := \
logcat_test.cpp \
diff --git a/logcat/tests/logcat_test.cpp b/logcat/tests/logcat_test.cpp
index 0165073..b07cc8b 100644
--- a/logcat/tests/logcat_test.cpp
+++ b/logcat/tests/logcat_test.cpp
@@ -609,7 +609,6 @@ TEST(logcat, blocking_clear) {
EXPECT_EQ(1, signals);
}
-#ifdef USERDEBUG_BUILD
static bool get_white_black(char **list) {
FILE *fp;
@@ -705,4 +704,3 @@ TEST(logcat, white_black_adjust) {
free(list);
list = NULL;
}
-#endif // USERDEBUG_BUILD