[Lldb-commits] [lldb] r279234 - Fixing a Darwing test thats failing on windows

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 19 14:06:39 PDT 2016

Thanks, Dimitar!

I should have caught that.

On August 19, 2016 at 5:52:52 AM, Dimitar Vlahovski via lldb-commits (
lldb-commits at lists.llvm.org) wrote:

Author: dvlahovski
Date: Fri Aug 19 07:44:53 2016
New Revision: 279234

URL: http://llvm.org/viewvc/llvm-project?rev=279234&view=rev
Fixing a Darwing test thats failing on windows

The pexpect import should be make after the skip-if-not-darwin part
because pexpect is not available on Windows


Modified: lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py
--- lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py Fri Aug 19
07:44:53 2016
@@ -7,7 +7,6 @@ from __future__ import print_function

import json
import os
-import pexpect
import platform
import re
import sys
@@ -59,6 +58,7 @@ class DarwinLogTestBase(lldbtest.TestBas
def run_lldb_to_breakpoint(self, exe, source_file, line,
enable_command=None, settings_commands=None):

+ import pexpect
# Set self.child_prompt, which is "(lldb) ".
prompt = self.child_prompt

lldb-commits mailing list
lldb-commits at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160819/43d650bc/attachment.html>

More information about the lldb-commits mailing list