1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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
This commit is contained in:
Michael J. Spencer 2011-12-09 00:45:09 +00:00
parent a56a1ac691
commit 4239ea1e2e

View File

@ -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");