Files
angle/tests/standalone_tests/standalone_test_main.cpp
T
Jamie Madill c5a631240d Add unit tests for proper TLS initialization.
The test creates a worker thread which initializes EGL,
then calls EGL methods which check for thread local storage values.
This can cause a crash of the values are uninialized.

BUG=angle:488

Change-Id: Ibaffede0605c720ba9ca47910690a1334ee9e20e
Reviewed-on: https://chromium-review.googlesource.com/179130
Reviewed-by: Shannon Woods <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2013-12-09 19:36:32 +00:00

17 lines
356 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;
}