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

Commit 57674437 authored by Jeff Tinker's avatar Jeff Tinker Committed by android-build-merger
Browse files

Allow clearkey tests to run if no vendor modules am: 5db2e672 am: 66812dc3 am: 8813c2b4

am: fca6f6a8

Change-Id: Ic71e058bbb9eb4421e2dbf0b43463829cbdaf600
parents 8139db8a fca6f6a8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1595,9 +1595,8 @@ int main(int argc, char** argv) {
#endif
    gVendorModules = new drm_vts::VendorModules(kModulePath);
    if (gVendorModules->getPathList().size() == 0) {
        std::cerr << "No vendor modules found in " << kModulePath <<
                ", exiting" << std::endl;
        exit(-1);
        std::cerr << "WARNING: No vendor modules found in " << kModulePath <<
                ", all vendor tests will be skipped" << std::endl;
    }
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();