[Lldb-commits] [lldb] r133483 - /lldb/trunk/test/dotest.py
Peter Collingbourne
peter at pcc.me.uk
Mon Jun 20 16:55:53 PDT 2011
Author: pcc
Date: Mon Jun 20 18:55:53 2011
New Revision: 133483
URL: http://llvm.org/viewvc/llvm-project?rev=133483&view=rev
Log:
Set LLDB_SESSION_DIRNAME to absolute path
This is to ensure that session files are written to the correct
directory if the -r option is given.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=133483&r1=133482&r2=133483&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Jun 20 18:55:53 2011
@@ -822,7 +822,7 @@
# The windows platforms don't like ':' in the pathname.
timestamp = datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S")
sdir_name = timestamp
-os.environ["LLDB_SESSION_DIRNAME"] = sdir_name
+os.environ["LLDB_SESSION_DIRNAME"] = os.path.join(os.getcwd(), sdir_name)
sys.stderr.write("\nSession logs for test failures/errors/unexpected successes"
" will go into directory '%s'\n" % sdir_name)
More information about the lldb-commits
mailing list