[all-commits] [llvm/llvm-project] e20a3b: [lldb][tests][NFC] Unify variable naming convention

Tatyana Krasnukha via All-commits all-commits at lists.llvm.org
Fri Jan 10 06:38:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e20a3b9b6c028ef3fea92ddb19e98db45e3d0509
      https://github.com/llvm/llvm-project/commit/e20a3b9b6c028ef3fea92ddb19e98db45e3d0509
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/configuration.py
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test/dotest_args.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/packages/Python/lldbsuite/test/test_result.py

  Log Message:
  -----------
  [lldb][tests][NFC] Unify variable naming convention


  Commit: 3eea082535e232b35e6b2dab45dd81728b2ae7f4
      https://github.com/llvm/llvm-project/commit/3eea082535e232b35e6b2dab45dd81728b2ae7f4
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/configuration.py
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test/dotest_args.py
    M lldb/packages/Python/lldbsuite/test/test_result.py

  Log Message:
  -----------
  [lldb][tests] Make it possible to expect failure for a whole category

There already are decorators and "--excluded" option to mark test-cases/files
as expected to fail. However, when a new test file is added and it which relates
to a feature that a target doesn't support, this requires either adding decorators
to that file or modifying the file provided as "--excluded" option value.

The purpose of this patch is to avoid any modifications in such cases.
E.g. if a target doesn't support "watchpoints" and passes "--xfail-category watchpoint"
to dotest, a testing job will not fail after a new watchpoint-related test file is added.

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


Compare: https://github.com/llvm/llvm-project/compare/f0fd11df7d54...3eea082535e2


More information about the All-commits mailing list