Return error when test initialization fails am: 616a9b38dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/13798630 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia7d3546e771d887bdec0ddc55fc8507b27a46918
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
#include "test_base.h"
|
#include "test_base.h"
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
if (!wvcdm::WvCdmTestBase::Initialize(argc, argv)) return 0;
|
if (!wvcdm::WvCdmTestBase::Initialize(argc, argv)) return 1;
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user