Files
platform-external-webrtc/webrtc/video_engine/test/test_main.cc
pbos@webrtc.org fbf0f69bf8 Call SetExecutablePath from test_main.cc
Fixes crash in video_engine_tests on bots, that were unabled to locate
the resource file.

BUG=
R=mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2083004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4581 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-21 16:00:15 +00:00

24 lines
821 B
C++

/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/video_engine/test/common/flags.h"
#include "webrtc/video_engine/test/common/run_tests.h"
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
webrtc::test::flags::Init(&argc, &argv);
webrtc::test::SetExecutablePath(argv[0]);
return webrtc::test::RunAllTests();
}