mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
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
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user