blob: 1a311f63c279cc9b8829decfa9b5ccd42901af90 [file] [log] [blame]
pbos@webrtc.orgaf8d5af2013-07-09 08:02:331/*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Artem Titov40a7a352018-10-15 13:25:3411#include <memory>
Oleh Prypin135aad02018-09-21 11:56:2612
Artem Titov40a7a352018-10-15 13:25:3413#include "test/test_main_lib.h"
oprypin9b2f20c2017-08-29 12:51:5714
pbos@webrtc.orgaf8d5af2013-07-09 08:02:3315int main(int argc, char* argv[]) {
Artem Titov40a7a352018-10-15 13:25:3416 std::unique_ptr<webrtc::TestMain> main = webrtc::TestMain::Create();
Artem Titovb5541a02018-10-17 15:37:4717 int err_code = main->Init(&argc, argv);
Artem Titov40a7a352018-10-15 13:25:3418 if (err_code != 0) {
19 return err_code;
oprypin9b2f20c2017-08-29 12:51:5720 }
Artem Titov40a7a352018-10-15 13:25:3421 return main->Run(argc, argv);
pbos@webrtc.orgaf8d5af2013-07-09 08:02:3322}