[all-commits] [llvm/llvm-project] 2378ba: [lldb] Improve completion tests (#65973)

David Spickett via All-commits all-commits at lists.llvm.org
Mon Sep 11 10:27:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2378ba632e5cdc761584a4154449833ac0f86384
      https://github.com/llvm/llvm-project/commit/2378ba632e5cdc761584a4154449833ac0f86384
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/test/API/commands/expression/completion/TestExprCompletion.py
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] Improve completion tests (#65973)

* Assert no completions for tests that should not find completions.
* Remove regex mode from complete_from_to, which was unused.

This exposed bugs in 2 of the tests, target stop-hook and
process unload. These were fixed in previous commits but
couldn't be tested properly until this patch.




More information about the All-commits mailing list