platform_system_core/liblog/tests
Tom Cherry 0bf41672e9 liblog: run liblog#enoent only as root
Previously this test would rely on ro.debuggable being true, but there
are now some circumstances where ro.debuggable is true, yet `su` does
not exist.  Therefore we only run this test when it is root.

Also simplify some of the test macros.

Bug: 140446213
Test: passes as root, skips as non-root
Change-Id: I0651963d5c7d4f5308989ab6b04aab1042094e5a
2019-09-04 13:39:06 -07:00
..
Android.bp liblog: display valid utf8 characters with 'printable' log format 2019-04-29 09:14:37 -07:00
AndroidTest.xml Actually add right instant app boilerplate. 2019-01-29 17:12:35 -08:00
libc_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
liblog_benchmark.cpp Fix format string for new google benchmark 2019-06-07 04:31:00 +00:00
liblog_test.cpp liblog: run liblog#enoent only as root 2019-09-04 13:39:06 -07:00
liblog_test_default.cpp liblog: enable tests accidentally disabled 2019-08-23 15:28:17 -07:00
liblog_test_stderr.cpp liblog: test: *.android_errorWriteWithinfoLog__android_logger_list_read__* 2017-03-17 10:41:39 -07:00
log_id_test.cpp Small liblog test fixes & readability improvements. 2017-08-25 14:53:21 +01:00
log_radio_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
log_read_test.cpp liblog: expect content only if ro.logd.kernel is enabled 2018-06-05 07:43:15 -07:00
log_system_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
log_time_test.cpp Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_wrap_test.cpp Reading from logd in WRAP mode is expected to take a long time, 2017-08-25 18:21:36 +01:00
logprint_test.cpp liblog: display valid utf8 characters with 'printable' log format 2019-04-29 09:14:37 -07:00