platform_system_core/libcutils/tests
David Pursell 6fd4b9b6b5 libcutils test: make set_sched_policy optional
set_sched_policy checks that operations related to the kernel config
CONFIG_CGROUP_SCHEDTUNE are working properly, but this config is not
required so devices without this were failing the test.

This CL splits set_sched_policy into two tests so that the policy and
timerslack tests can be skipped individually when devices don't support
them.

Bug: 113185515, 112550681
Test: libcutils_test{32,64} now pass on aosp_x86_64 emulator
Change-Id: I31638b61e033f0c96b63428a8d27d27dbc36bce3
2018-08-28 13:26:04 -07:00
..
Android.bp libcutils: fs_config internal table alias test 2017-05-04 11:41:17 -07:00
AndroidTest.xml Add test config to libcutils_test 2017-03-31 17:12:18 -07:00
AshmemTest.cpp libcutils: test: increase use of ashmem_valid(fd) 2018-01-26 09:50:57 -08:00
MemsetTest.cpp Make allocations use unique_ptr. 2015-10-14 14:03:29 -07:00
PropertiesTest.cpp libcutils: Use strnlen for default property values 2016-12-22 09:21:06 -08:00
android_get_control_file_test.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
android_get_control_socket_test.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
fs_config.cpp Add std::string StartsWith*/EndsWith* overloads. 2017-12-20 09:42:22 -08:00
multiuser_test.cpp Better, consistent definition of AID_SHARED_GID. 2017-11-13 16:49:26 -07:00
sched_policy_test.cpp libcutils test: make set_sched_policy optional 2018-08-28 13:26:04 -07:00
sockets_test.cpp libcutils: fix socket type in SocketsTest.TestGetLocalPort 2017-02-22 10:58:38 -08:00
test_str_parms.cpp Move all libcutils tests into the gtests. 2015-04-02 14:25:55 -07:00
trace-dev_test.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00