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

Commit 8d2d1d08 authored by Zhuoyao Zhang's avatar Zhuoyao Zhang Committed by Android (Google) Code Review
Browse files

Merge "Fix VtsHalGraphicsComposerV2_1TargetTest" into oc-mr1-dev

parents fee5be00 425e9672
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include "VtsHalGraphicsMapperTestUtils.h"

#include <VtsHalHidlTargetTestBase.h>
#include <VtsHalHidlTargetTestEnvBase.h>
#include <unistd.h>

#include <algorithm>
@@ -703,10 +704,11 @@ TEST_F(GraphicsComposerHidlCommandTest, SET_LAYER_Z_ORDER) {
}  // namespace android

int main(int argc, char** argv) {
    using android::hardware::graphics::composer::V2_1::tests::GraphicsComposerHidlEnvironment;
    ::testing::AddGlobalTestEnvironment(GraphicsComposerHidlEnvironment::Instance());
    ::testing::InitGoogleTest(&argc, argv);

    GraphicsComposerHidlEnvironment::Instance()->init(&argc, argv);
    int status = RUN_ALL_TESTS();
  LOG(INFO) << "Test result = " << status;

    ALOGI("Test result = %d", status);
    return status;
}