forked from OSchip/llvm-project
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. llvm-svn: 133483
This commit is contained in:
parent
3729225576
commit
6f2b85221d
|
@ -822,7 +822,7 @@ if not sdir_name:
|
|||
# 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)
|
||||
|
|
Loading…
Reference in New Issue