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

Commit 99c9bf65 authored by Colin Cross's avatar Colin Cross
Browse files

Fix 64-bit GraphicStats.findRootPath test

frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp:54: Failure
Value of: findRootPath()
  Actual: "/data/nativetest64/hwui_unit_tests"
Expected: expected
Which is: "/data/nativetest/hwui_unit_tests"
[  FAILED  ] GraphicsStats.findRootPath (1 ms)

Test: hwui_unit_tests
Change-Id: I809fcc9d5f640ecd4248a8ae2272c72ba4bd2cdd
parent e9e6052f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -50,7 +50,11 @@ std::string findRootPath() {

// No code left untested
TEST(GraphicsStats, findRootPath) {
#ifdef __LP64__
    std::string expected = "/data/nativetest64/hwui_unit_tests";
#else
    std::string expected = "/data/nativetest/hwui_unit_tests";
#endif
    EXPECT_EQ(expected, findRootPath());
}