[all-commits] [llvm/llvm-project] ca0b41: [lldb][NFC] Add more tests for GenerateOptionsUsage

David Spickett via All-commits all-commits at lists.llvm.org
Tue May 3 06:40:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca0b41665978d5efd8482188a0541342cb298031
      https://github.com/llvm/llvm-project/commit/ca0b41665978d5efd8482188a0541342cb298031
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M lldb/test/API/commands/help/TestHelp.py

  Log Message:
  -----------
  [lldb][NFC] Add more tests for GenerateOptionsUsage

This adds a few targeted tests to make sure that when refactoring
this function later I don't break these properties.

Some are tested in passing elsewhere but this makes it more
obvious what went wrong when it fails.

This doesn't cover everything the function does, I couldn't
find any examples that would exercise some of the code.

Reviewed By: jingham

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




More information about the All-commits mailing list