Allow clearkey tests to run if no vendor modules
am: 5db2e67293
Change-Id: I594b8b5e9857d4a6c19d0847acf7c13949e13614
This commit is contained in:
commit
66812dc364
1 changed files with 2 additions and 3 deletions
|
@ -1597,9 +1597,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();
|
||||
|
|
Loading…
Reference in a new issue