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