Add some comment about the default session dir name which is a timestamp.

llvm-svn: 117730
This commit is contained in:
Johnny Chen 2010-10-29 22:26:38 +00:00
parent 37bb6c9832
commit 721f298a60
1 changed files with 1 additions and 0 deletions

View File

@ -568,6 +568,7 @@ unittest2.signals.installHandler()
# See also TestBase.dumpSessionInfo() in lldbtest.py.
if not sdir_name:
import datetime
# 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