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

Commit 66acefec authored by Steven Moreland's avatar Steven Moreland
Browse files

binderAllocationLimits - atrace tags

Broken by recent atrace changes, but not caught by infra, due to
build/soong not including test mapping import for binder/AIDL.
.
Bug: 161393989
Test: binderAllocationLimits --gtest_filter="*Small*"
Change-Id: Ic401ee4a3031672fc880ff92f130dd8fecb22e72
parent 3a44d98d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -605,6 +605,7 @@ cc_test {
    shared_libs: [
        "libbinder",
        "liblog",
        "libcutils",
        "libutils",
        "libutilscallstack",
        "libbase",
+6 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <binder/Parcel.h>
#include <binder/RpcServer.h>
#include <binder/RpcSession.h>
#include <cutils/trace.h>
#include <gtest/gtest.h>
#include <utils/CallStack.h>

@@ -223,5 +224,10 @@ int main(int argc, char** argv) {
        return 1;
    }
    ::testing::InitGoogleTest(&argc, argv);

    // if tracing is enabled, take in one-time cost
    (void)ATRACE_INIT();
    (void)ATRACE_GET_ENABLED_TAGS();

    return RUN_ALL_TESTS();
}