[all-commits] [llvm/llvm-project] 98d9f2: [lldb/test] Reduce API test tools configuration bo...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Feb 5 00:02:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98d9f2dcaca0c9fe64616fcca882e45473cf6dd1
      https://github.com/llvm/llvm-project/commit/98d9f2dcaca0c9fe64616fcca882e45473cf6dd1
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test/dotest_args.py
    M lldb/test/API/CMakeLists.txt
    M lldb/test/API/lit.cfg.py
    M lldb/test/API/lit.site.cfg.py.in
    M lldb/utils/lldb-dotest/CMakeLists.txt
    M lldb/utils/lldb-dotest/lldb-dotest.in

  Log Message:
  -----------
  [lldb/test] Reduce API test tools configuration boilerplate

Replace the dotest command line options and various cmake variables,
which are used for passing the locations of llvm tools to the API tests
with a single variable, which points to the directory these tools are
placed in. Besides reducing repetition, this also makes things more
similar to how "normal" llvm tests are configured.

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


  Commit: b90c4907ae81e13ff3ce8a56b698e92b36a62d61
      https://github.com/llvm/llvm-project/commit/b90c4907ae81e13ff3ce8a56b698e92b36a62d61
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M lldb/utils/lldb-dotest/CMakeLists.txt

  Log Message:
  -----------
  [lldb/cmake] Reduce duplication in generation lldb-dotest

Use indirection to avoid duplicated long lists of variables.

Depends on D95261.

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


Compare: https://github.com/llvm/llvm-project/compare/6c097f73ca03...b90c4907ae81


More information about the All-commits mailing list