mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
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
16 lines
355 B
C++
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;
|
|
}
|