Loading cmds/dumpstate/tests/dumpstate_test.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -1001,13 +1001,6 @@ TEST_F(DumpstateTest, DumpPool_withParallelRunDisabled_isNull) { TEST_F(DumpstateTest, PreDumpUiData) { // These traces are always enabled, i.e. they are always pre-dumped std::vector<std::filesystem::path> uiTraces; if (!android_tracing_perfetto_transition_tracing()) { uiTraces.push_back( std::filesystem::path{"/data/misc/wmtrace/wm_transition_trace.winscope"}); uiTraces.push_back( std::filesystem::path{"/data/misc/wmtrace/shell_transition_trace.winscope"}); } for (const auto traceFile : uiTraces) { std::system(("rm -f " + traceFile.string()).c_str()); EXPECT_FALSE(std::filesystem::exists(traceFile)) << traceFile << " was not deleted."; Loading Loading
cmds/dumpstate/tests/dumpstate_test.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -1001,13 +1001,6 @@ TEST_F(DumpstateTest, DumpPool_withParallelRunDisabled_isNull) { TEST_F(DumpstateTest, PreDumpUiData) { // These traces are always enabled, i.e. they are always pre-dumped std::vector<std::filesystem::path> uiTraces; if (!android_tracing_perfetto_transition_tracing()) { uiTraces.push_back( std::filesystem::path{"/data/misc/wmtrace/wm_transition_trace.winscope"}); uiTraces.push_back( std::filesystem::path{"/data/misc/wmtrace/shell_transition_trace.winscope"}); } for (const auto traceFile : uiTraces) { std::system(("rm -f " + traceFile.string()).c_str()); EXPECT_FALSE(std::filesystem::exists(traceFile)) << traceFile << " was not deleted."; Loading