[all-commits] [llvm/llvm-project] 027499: [lldb/test] Fix PExpect.launch issue when disablin...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Thu May 19 14:47:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 027499a82434ea7a784b2e5a0227540f00fbc307
      https://github.com/llvm/llvm-project/commit/027499a82434ea7a784b2e5a0227540f00fbc307
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbpexpect.py

  Log Message:
  -----------
  [lldb/test] Fix PExpect.launch issue when disabling color support

This patch should fix a bug in PExpect.launch that happened when color
support is not enabled.

In that case, we need to add the `--no-use-colors` flag to lldb's launch
argument list. However, previously, each character to the string was
appended separately to the `args` list. This patch solves that by adding
the whole string to the list.

This should fix the TestIOHandlerResize failure on GreenDragon.

Differential Revision: https://reviews.llvm.org/D126021

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list