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

Commit 5b194e53 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Adithya Srinivasan
Browse files

remove SKIP_IF_BPF_NOT_SUPPORTED



Android S requires the device to support bpf.

Test: TreeHugger
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I10c3bf8a3d0a42f9c90eaa578f9f94157cac2151
Merged-In: I10c3bf8a3d0a42f9c90eaa578f9f94157cac2151
parent 45583460
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public:
    }

    void SetUp() override {
        SKIP_IF_BPF_NOT_SUPPORTED;
        bpf::setrlimitForTest();

        mGpuMem = std::make_shared<GpuMem>();
@@ -122,7 +121,6 @@ static constexpr uint32_t getGpuIdForPid(uint32_t pid) {
}

TEST_F(GpuMemTracerTest, traceInitialCountersAfterGpuMemInitialize) {
    SKIP_IF_BPF_NOT_SUPPORTED;
    ASSERT_RESULT_OK(mTestMap.writeValue(TEST_GLOBAL_KEY, TEST_GLOBAL_VAL, BPF_ANY));
    ASSERT_RESULT_OK(mTestMap.writeValue(TEST_PROC_KEY_1, TEST_PROC_VAL_1, BPF_ANY));
    ASSERT_RESULT_OK(mTestMap.writeValue(TEST_PROC_KEY_2, TEST_PROC_VAL_2, BPF_ANY));