Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28188f34 authored by Devin Moore's avatar Devin Moore
Browse files

Skip ARpcDelegateNonAccessor test with static libbinder

The test case uses libbinder_ndk.so which is using the device's
libbinder.so instead of this test case's static symbols. We can't mix
these objects, so skip this test in that case.

Flag: TEST_ONLY
Test: atest binderRpcTest
Bug: 427923758
Change-Id: I8281fb99cfbe5a99df9e5824d590759f3b2aca32
parent 1c6f4551
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1728,6 +1728,9 @@ TEST_F(BinderARpcNdk, ARpcDelegateNonAccessor) {
#ifndef __BIONIC__
    GTEST_SKIP() << "Can only get AIDL services on device.";
#endif
    if constexpr (!kEnableSharedLibs) {
        GTEST_SKIP() << "Test disabled because Binder was built as a static library";
    }

    auto service = defaultServiceManager()->checkService(String16(kKnownAidlService));
    ASSERT_NE(nullptr, service);