wire bpf_base_test into netd_updatable_unit_test
The 3 pre-existing //system/netd tests are: TEST_F(BpfBasicTest, TestCgroupMounted) TEST_F(BpfBasicTest, TestTagSocket) TEST_F(BpfBasicTest, TestCloseSocketWithoutUntag) which are directly related to BpfHandler.cpp implementation, as it implements: Status BpfHandler::init(const char* cg2_path) BpfHandler::tagSocket() BpfHandler::untagSocket() Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I1c01ae90904faaea54b427495c7a5deab8b1b900
This commit is contained in:
@@ -63,6 +63,7 @@ cc_test {
|
||||
],
|
||||
srcs: [
|
||||
"BpfHandlerTest.cpp",
|
||||
"BpfBaseTest.cpp"
|
||||
],
|
||||
static_libs: [
|
||||
"libnetd_updatable",
|
||||
@@ -72,6 +73,7 @@ cc_test {
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libnetdutils",
|
||||
"libprocessgroup",
|
||||
],
|
||||
compile_multilib: "both",
|
||||
multilib: {
|
||||
|
||||
Reference in New Issue
Block a user