[Lldb-commits] [lldb] r155148 - /lldb/trunk/test/lldbtest.py

Johnny Chen johnny.chen at apple.com
Thu Apr 19 12:39:11 PDT 2012


Author: johnny
Date: Thu Apr 19 14:39:11 2012
New Revision: 155148

URL: http://llvm.org/viewvc/llvm-project?rev=155148&view=rev
Log:
The session file name should be tagged with (architecture, compiler) in addition
to the already existing (test result, test id) to avoid collision and to
facilitate postmortem analysis.

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=155148&r1=155147&r2=155148&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Thu Apr 19 14:39:11 2012
@@ -866,7 +866,7 @@
                              os.environ["LLDB_SESSION_DIRNAME"])
         if not os.path.isdir(dname):
             os.mkdir(dname)
-        fname = os.path.join(dname, "%s-%s.log" % (prefix, self.id()))
+        fname = os.path.join(dname, "%s-%s-%s-%s.log" % (prefix, self.getArchitecture(), self.getCompiler(), self.id()))
         with open(fname, "w") as f:
             import datetime
             print >> f, "Session info generated @", datetime.datetime.now().ctime()





More information about the lldb-commits mailing list