[Lldb-commits] [PATCH] D42656: [testsuite] Remove flakey test relying on `pexpect`

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 29 15:15:57 PST 2018


zturner added a comment.

If we just need to test completion, write a lit-style test that uses lldb-test that looks like this:

  RUN: lldb-test complete --target=%T/foo --complete_str=MyPrefix | FileCheck %s
  
  CHECK: Foo::Bar
  CHECK: Foo::Baz
  etc

Simple and not flaky


https://reviews.llvm.org/D42656





More information about the lldb-commits mailing list