diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-12-09 00:45:09 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-12-09 00:45:09 +0000 |
commit | a5207b9407ae6d9a962d319e5655365fedc94f84 (patch) | |
tree | 3882522f90014231437fcc7cb049f78b09120689 /llvm/unittests/Support/Path.cpp | |
parent | 4996f5fba2c3aaf530559229d5582b595f09edcb (diff) | |
download | llvm-a5207b9407ae6d9a962d319e5655365fedc94f84.zip llvm-a5207b9407ae6d9a962d319e5655365fedc94f84.tar.gz llvm-a5207b9407ae6d9a962d319e5655365fedc94f84.tar.bz2 |
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
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 6d4dc4c..9099b72 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/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"); |