[llvm-commits] [llvm] r146214 - /llvm/trunk/unittests/Support/Path.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Thu Dec 8 16:45:09 PST 2011
Author: mspencer
Date: Thu Dec 8 18:45:09 2011
New Revision: 146214
URL: http://llvm.org/viewvc/llvm-project?rev=146214&view=rev
Log:
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 :(.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=146214&r1=146213&r2=146214&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Thu Dec 8 18:45:09 2011
@@ -243,8 +243,11 @@
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");
More information about the llvm-commits
mailing list