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

Commit 24a6910f authored by Nolan Scobie's avatar Nolan Scobie
Browse files

Convert RenderEngineTest's setup/teardown logging from DEBUG to INFO

Some test execution configurations (including the default
`atest librenderengine`) don't include DEBUG in their logcat
collection. This can make it difficult to confirm which test execution
generated a given log message.

Bug: N/A
Change-Id: I21fc83cf474230b3f860162e80ee737ce02b4023
Test: N/A
Flag: TEST_ONLY
parent 904ea27b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ public:
    RenderEngineTest() {
        const ::testing::TestInfo* const test_info =
                ::testing::UnitTest::GetInstance()->current_test_info();
        ALOGD("**** Setting up for %s.%s\n", test_info->test_case_name(), test_info->name());
        ALOGI("**** Setting up for %s.%s\n", test_info->test_case_name(), test_info->name());
    }

    ~RenderEngineTest() {
@@ -251,7 +251,7 @@ public:
        }
        const ::testing::TestInfo* const test_info =
                ::testing::UnitTest::GetInstance()->current_test_info();
        ALOGD("**** Tearing down after %s.%s\n", test_info->test_case_name(), test_info->name());
        ALOGI("**** Tearing down after %s.%s\n", test_info->test_case_name(), test_info->name());
    }

    void writeBufferToFile(const char* basename) {