summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/Support/ParallelTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/unittests/Support/ParallelTest.cpp b/llvm/unittests/Support/ParallelTest.cpp
index f381631ac3a..d734e0dd858 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<uint32_t> 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
OpenPOWER on IntegriCloud