diff options
author | Yifan Hong <elsk@google.com> | 2021-04-06 18:06:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-06 18:06:39 +0000 |
commit | 8e8d529f8d7af138455cee73bf2c96f4b07513c9 (patch) | |
tree | 763bd8f569b91d69fd9a5ed11972d9b4eb56968d | |
parent | 5e7768d7244a49b0911b2da04d7242597d89c172 (diff) | |
parent | 24d0304ee998f7cd1d4776b8c85e5f379dc00c7f (diff) | |
download | native-8e8d529f8d7af138455cee73bf2c96f4b07513c9.tar.gz |
Merge "lshal: Do not use lastError API."
-rw-r--r-- | cmds/lshal/test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/lshal/test.cpp b/cmds/lshal/test.cpp index b6ff28d416..7c1ca91528 100644 --- a/cmds/lshal/test.cpp +++ b/cmds/lshal/test.cpp @@ -508,10 +508,10 @@ TEST_F(ListTest, DumpVintf) { EXPECT_THAT(output, HasSubstr("a.h.foo6@6.0::IFoo/6")); EXPECT_EQ("", err.str()); + std::string error; vintf::HalManifest m; - EXPECT_EQ(true, vintf::gHalManifestConverter(&m, out.str())) - << "--init-vintf does not emit valid HAL manifest: " - << vintf::gHalManifestConverter.lastError(); + EXPECT_EQ(true, vintf::gHalManifestConverter(&m, out.str(), &error)) + << "--init-vintf does not emit valid HAL manifest: " << error; } // test default columns |