[Lldb-commits] [lldb] 83c752b - Revert "[lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure"

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 28 09:12:12 PDT 2021


Author: Raphael Isemann
Date: 2021-07-28T18:11:52+02:00
New Revision: 83c752bfa6071f34c8c4564a379d99b1b94f604a

URL: https://github.com/llvm/llvm-project/commit/83c752bfa6071f34c8c4564a379d99b1b94f604a
DIFF: https://github.com/llvm/llvm-project/commit/83c752bfa6071f34c8c4564a379d99b1b94f604a.diff

LOG: Revert "[lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure"

This reverts commit 5db8e232126fc4c0f5d5b0339bdc5a49830268d1. The test has
been disabled since then on the bot and we got the logs we wanted.

Added: 
    

Modified: 
    lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py

Removed: 
    


################################################################################
diff  --git a/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py b/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
index 8ef077aa7d31b..6b9ad3f63f7cd 100644
--- a/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
+++ b/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
@@ -212,8 +212,8 @@ def __str__(self):
         s.append(repr(self))
         s.append('command: ' + str(self.command))
         s.append('args: %r' % (self.args,))
-        s.append('buffer (last 10000 chars): %r' % self.buffer[-10000:])
-        s.append('before (last 10000 chars): %r' % self.before[-10000:] if self.before else '')
+        s.append('buffer (last 100 chars): %r' % self.buffer[-100:])
+        s.append('before (last 100 chars): %r' % self.before[-100:] if self.before else '')
         s.append('after: %r' % (self.after,))
         s.append('match: %r' % (self.match,))
         s.append('match_index: ' + str(self.match_index))


        


More information about the lldb-commits mailing list