Reading from logd in WRAP mode is expected to take a long time,
don't abort it after 30s.
Adds a new CTS test to verify the behaviour.
Bug: 64143705
Test: New and existing CTS tests pass. Manual testing with logcat.
(cherry picked from commit 64acdf77d6f89a72be9192b35e0fc34242c23e34)
Change-Id: Ic2ec131a3aee293ee865c46e62566ddd82ec2507
diff --git a/liblog/tests/Android.mk b/liblog/tests/Android.mk
index 91044ab..5571ce9 100644
--- a/liblog/tests/Android.mk
+++ b/liblog/tests/Android.mk
@@ -64,7 +64,8 @@
log_radio_test.cpp \
log_read_test.cpp \
log_system_test.cpp \
- log_time_test.cpp
+ log_time_test.cpp \
+ log_wrap_test.cpp
# Build tests for the device (with .so). Run with:
# adb shell /data/nativetest/liblog-unit-tests/liblog-unit-tests