[Lldb-commits] [lldb] r275555 - Fix TestDarwinNSLogOutput for windows
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 15 05:19:29 PDT 2016
Author: labath
Date: Fri Jul 15 07:19:28 2016
New Revision: 275555
URL: http://llvm.org/viewvc/llvm-project?rev=275555&view=rev
Log:
Fix TestDarwinNSLogOutput for windows
pexpect python package does not exist on windows
Modified:
lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py?rev=275555&r1=275554&r2=275555&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py Fri Jul 15 07:19:28 2016
@@ -10,7 +10,6 @@ from __future__ import print_function
import lldb
import os
-import pexpect
import platform
import re
import sys
@@ -58,6 +57,7 @@ class DarwinNSLogOutputTestCase(lldbtest
prompt = self.child_prompt
# So that the child gets torn down after the test.
+ import pexpect
self.child = pexpect.spawn('%s %s %s' % (lldbtest_config.lldbExec,
self.lldbOption, exe))
child = self.child
More information about the lldb-commits
mailing list