summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-12-09 00:45:09 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-12-09 00:45:09 +0000
commit6132d70210d2ac01bbbabdb7a64d61b8e6070c71 (patch)
treee671e2772c63ef9d0440730442f7a70b60673748 /unittests
parent7f7f0902a640c26e9ce70b5869fc7de3b8b27918 (diff)
downloadllvm-6132d70210d2ac01bbbabdb7a64d61b8e6070c71.tar.gz
llvm-6132d70210d2ac01bbbabdb7a64d61b8e6070c71.tar.bz2
llvm-6132d70210d2ac01bbbabdb7a64d61b8e6070c71.tar.xz
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 :(. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 6d4dc4c9ab..9099b72325 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");