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

Commit 56273ce0 authored by Steven Moreland's avatar Steven Moreland
Browse files

Avoid TREBLE_TESTING_OVERRIDE

This is moved from an environmental variable to a function since
getenv is problematic in multi-threaded testing environments.

Bug: 156668058
Test: fmq_test
Change-Id: I54c6a973ef9d1cec98330268ed0a40c2564ee42c
parent 7cac9425
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,5 +24,6 @@ using android::hardware::tests::msgq::V1_0::ITestMsgQ;
using android::hardware::defaultPassthroughServiceImplementation;

int main() {
    android::hardware::details::setTrebleTestingOverride(true);
    return defaultPassthroughServiceImplementation<ITestMsgQ>();
}