[llvm] r308070 - [Dominators] Temporarily disable a flaky unit test

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 16:49:12 PDT 2017


Author: kuhar
Date: Fri Jul 14 16:49:12 2017
New Revision: 308070

URL: http://llvm.org/viewvc/llvm-project?rev=308070&view=rev
Log:
[Dominators] Temporarily disable a flaky unit test

The DominatorTree.InsertDeleteExhaustive uses a RNG with a
constant seed to generate different sequences of updates. The test
fails on some buildbots and this patch disables it for now.

Modified:
    llvm/trunk/unittests/IR/DominatorTreeTest.cpp

Modified: llvm/trunk/unittests/IR/DominatorTreeTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/DominatorTreeTest.cpp?rev=308070&r1=308069&r2=308070&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/DominatorTreeTest.cpp (original)
+++ llvm/trunk/unittests/IR/DominatorTreeTest.cpp Fri Jul 14 16:49:12 2017
@@ -538,7 +538,7 @@ TEST(DominatorTree, InsertDelete) {
   }
 }
 
-TEST(DominatorTree, InsertDeleteExhaustive) {
+TEST(DominatorTree, DISABLED_InsertDeleteExhaustive) {
   std::vector<CFGBuilder::Arc> Arcs = {
       {"1", "2"}, {"2", "3"}, {"3", "4"},  {"4", "5"},  {"5", "6"},  {"5", "7"},
       {"3", "8"}, {"8", "9"}, {"9", "10"}, {"8", "11"}, {"11", "12"}};




More information about the llvm-commits mailing list