aboutsummaryrefslogtreecommitdiff
path: root/lldb/third_party/Python/module
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-07-28 17:49:40 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-07-28 18:11:52 +0200
commit83c752bfa6071f34c8c4564a379d99b1b94f604a (patch)
tree3499b70f8bfb1a716bd0c4eee66b3260494232de /lldb/third_party/Python/module
parent3106f85945468970b81d86c296d37b485415a398 (diff)
downloadllvm-83c752bfa6071f34c8c4564a379d99b1b94f604a.tar.gz
llvm-83c752bfa6071f34c8c4564a379d99b1b94f604a.tar.bz2
llvm-83c752bfa6071f34c8c4564a379d99b1b94f604a.zip
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.
Diffstat (limited to 'lldb/third_party/Python/module')
-rw-r--r--lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py4
1 files changed, 2 insertions, 2 deletions
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 8ef077aa7d31..6b9ad3f63f7c 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 @@ class spawn(SpawnBase):
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))