]> granicus.if.org Git - llvm/commitdiff
SupportTests: Suppress ParallelTests on mingw for now. Investigating.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 May 2017 06:35:51 +0000 (06:35 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 May 2017 06:35:51 +0000 (06:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302766 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/ParallelTest.cpp

index f381631ac3a2dee4fd1863812317ca8b59015581..d734e0dd8586afbc7fec1e7b5cf22ac0b47ee8b8 100644 (file)
@@ -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