Files
angle/tests/preprocessor_tests/preprocessor_test_main.cpp
T
Geoff Lang 8622e55452 Merge 16a3eb3e9f from master.
Fix compiler test initialization issues.

We should call ShInitialize() / ShFinalize() once per process, so moving
them out of individual test's Setup() / Shutdown() to the test main().

BUG=
[email protected]

Review URL: https://codereview.appspot.com/13568048
2013-10-17 09:52:37 -04:00

16 lines
355 B
C++

//
// Copyright (c) 2013 The ANGLE 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.
//
#include "gmock/gmock.h"
#include "gtest/gtest.h"
int main(int argc, char** argv)
{
testing::InitGoogleMock(&argc, argv);
int rt = RUN_ALL_TESTS();
return rt;
}