This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Test] Add `use_colors` argument to PExpect.launch wrapper
ClosedPublic

Authored by mib on May 18 2022, 11:35 AM.

Details

Summary

This patch adds a new use_colors argument to the PExpect.launch
method.

As the name suggests, it allows the user to conditionally enable color
support in the debugger, which can be helpful to test functionalities that
rely on that, like progress reporting. It defaults to False.

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

Diff Detail