Source release 17.1.0
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
||||
// source code may only be used and distributed under the Widevine Master
|
||||
// License Agreement.
|
||||
// source code may only be used and distributed under the Widevine License
|
||||
// Agreement.
|
||||
|
||||
// Use in place of the gtest_main in order to initialize the WvCdmTestBase using
|
||||
// command line parameters.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "test_base.h"
|
||||
|
||||
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);
|
||||
return RUN_ALL_TESTS();
|
||||
const int status = RUN_ALL_TESTS();
|
||||
LOGD("CDM test complete with status %d", status);
|
||||
exit(status); // Explicit call to exit() is required for code coverage.
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user