diff options
Diffstat (limited to 'test/LibVintfTest.cpp')
-rw-r--r-- | test/LibVintfTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/LibVintfTest.cpp b/test/LibVintfTest.cpp index 68af9bb..a3a98b8 100644 --- a/test/LibVintfTest.cpp +++ b/test/LibVintfTest.cpp | |||
@@ -59,7 +59,10 @@ public: | |||
59 | return cm.add(std::move(hal)); | 59 | return cm.add(std::move(hal)); |
60 | } | 60 | } |
61 | bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { | 61 | bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { |
62 | return cm.add(std::move(kernel)); | 62 | std::string error; |
63 | bool success = cm.addKernel(std::move(kernel), &error); | ||
64 | EXPECT_EQ(success, error == "") << "success: " << success << ", error: " << error; | ||
65 | return success; | ||
63 | } | 66 | } |
64 | bool add(HalManifest &vm, ManifestHal &&hal) { | 67 | bool add(HalManifest &vm, ManifestHal &&hal) { |
65 | return vm.add(std::move(hal)); | 68 | return vm.add(std::move(hal)); |