[Lldb-commits] [lldb] r242575 - Handle altsep ('/' on Windows) in compiler path for log files.
Chaoren Lin
chaorenl at google.com
Fri Jul 17 14:37:26 PDT 2015
Author: chaoren
Date: Fri Jul 17 16:37:26 2015
New Revision: 242575
URL: http://llvm.org/viewvc/llvm-project?rev=242575&view=rev
Log:
Handle altsep ('/' on Windows) in compiler path for log files.
Reviewers: chying
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11312
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=242575&r1=242574&r2=242575&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Jul 17 16:37:26 2015
@@ -1651,6 +1651,7 @@ class Base(unittest2.TestCase):
if compiler[1] == ':':
compiler = compiler[2:]
+ compiler = compiler.replace(os.path.altsep, os.path.sep)
fname = "{}-{}-{}".format(self.id(), self.getArchitecture(), "_".join(compiler.split(os.path.sep)))
if len(fname) > 200:
More information about the lldb-commits
mailing list