From 4239ea1e2e8b82f22a2f2a85c52ca10b8705a3b2 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 9 Dec 2011 00:45:09 +0000 Subject: [PATCH] unittests/SupportTests: Add some outs()'s to debug the issues on some bots. I have run these tests under many configurations on the exact same OS as the failures, and I can't reproduce them :(. llvm-svn: 146214 --- unittests/Support/Path.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 6d4dc4c9ab7..9099b72325d 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -243,8 +243,11 @@ TEST_F(FileSystemTest, DirectoryIteration) { ASSERT_NO_ERROR(ec); if (path::filename(i->path()) == "dontlookhere") i.no_push(); + outs() << "pre-pop: " << path::filename(i->path()) << "\n"; if (path::filename(i->path()) == "p1") i.pop(); + outs() << "post-pop: " << path::filename(i->path()) << "\n"; + outs().flush(); visited.push_back(path::filename(i->path())); } v_t::const_iterator a0 = std::find(visited.begin(), visited.end(), "a0");