diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-04-19 19:39:11 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-04-19 19:39:11 +0000 |
commit | 92f162a79826d1d9c8df430e85088a36ad90d523 (patch) | |
tree | 105fb1bedbced01095bb296eec51e98d0fa5558d | |
parent | 9125493efee5bd6c15db0c82eb4973723e462e54 (diff) | |
download | bcm5719-llvm-92f162a79826d1d9c8df430e85088a36ad90d523.tar.gz bcm5719-llvm-92f162a79826d1d9c8df430e85088a36ad90d523.zip |
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.
llvm-svn: 155148
-rw-r--r-- | lldb/test/lldbtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 3bcdd5207e1..a4fd3bbfd03 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -866,7 +866,7 @@ class Base(unittest2.TestCase): 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() |