summaryrefslogtreecommitdiffstats
path: root/lldb/test/logging/TestLogging.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/logging/TestLogging.py')
-rw-r--r--lldb/test/logging/TestLogging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/logging/TestLogging.py b/lldb/test/logging/TestLogging.py
index 93f65e9817b..28cfb7669c1 100644
--- a/lldb/test/logging/TestLogging.py
+++ b/lldb/test/logging/TestLogging.py
@@ -28,13 +28,13 @@ class LogTestCase(TestBase):
patterns = [ "Current executable set to .*a.out" ])
log_file = os.path.join (os.getcwd(), "lldb-commands-log-%s-%s-%s.txt" % (type,
- self.getCompiler(),
+ os.path.basename(self.getCompiler()),
self.getArchitecture()))
if (os.path.exists (log_file)):
os.remove (log_file)
- self.runCmd ("log enable lldb commands -f " + log_file)
+ self.runCmd ("log enable -f '%s' lldb commands" % (log_file))
self.runCmd ("command alias bp breakpoint")
OpenPOWER on IntegriCloud