From 4638198b511f85e7a6bb3f5e11be62540edfe2de Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 11 May 2017 06:35:51 +0000 Subject: [PATCH] SupportTests: Suppress ParallelTests on mingw for now. Investigating. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302766 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/ParallelTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unittests/Support/ParallelTest.cpp b/unittests/Support/ParallelTest.cpp index f381631ac3a..d734e0dd858 100644 --- a/unittests/Support/ParallelTest.cpp +++ b/unittests/Support/ParallelTest.cpp @@ -21,6 +21,9 @@ uint32_t array[1024 * 1024]; using namespace llvm; +// Tests below are hanging up on mingw. Investigating. +#if !defined(__MINGW32__) + TEST(Parallel, sort) { std::mt19937 randEngine; std::uniform_int_distribution dist; @@ -46,3 +49,5 @@ TEST(Parallel, parallel_for) { // Check that we don't write past the end of the requested range. ASSERT_EQ(range[2049], 1u); } + +#endif