summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-05-11 06:35:51 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-05-11 06:35:51 +0000
commitcf84800ea0219001d493e8e7ecb8ce22bea443cd (patch)
tree24c17c1d4726e9d917f7b0e77744777e212a37c9
parent0ad3182179170d47efa1790d0af43ea835fd2c4e (diff)
downloadbcm5719-llvm-cf84800ea0219001d493e8e7ecb8ce22bea443cd.tar.gz
bcm5719-llvm-cf84800ea0219001d493e8e7ecb8ce22bea443cd.zip
SupportTests: Suppress ParallelTests on mingw for now. Investigating.
llvm-svn: 302766
-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