diff --git a/llvm/unittests/Support/ParallelTest.cpp b/llvm/unittests/Support/ParallelTest.cpp index f381631ac3a2..d734e0dd8586 100644 --- a/llvm/unittests/Support/ParallelTest.cpp +++ b/llvm/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