[all-commits] [llvm/llvm-project] 90aed4: [lldb][test] Fix running TestWithLimitDebugInfo.py...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Wed Jul 30 12:55:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90aed4dbdfe7354405db980d2b684bf91f69b4fb
      https://github.com/llvm/llvm-project/commit/90aed4dbdfe7354405db980d2b684bf91f69b4fb
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py

  Log Message:
  -----------
  [lldb][test] Fix running TestWithLimitDebugInfo.py on Windows (#150579)

When debug info categories were set for a test method with the
`@add_test_categories` decorator, they were all added to its
"categories" attribute. If some of these categories were not supported,
`LLDBTestResult.startTest()` skipped all variants of the test method.

For example, the tests in `TestWithLimitDebugInfo.py` use the categories
`dwarf` and `dwo`. However, since `dwo` is not supported on Windows, all
the tests in this file were skipped, even though the tests for `dwarf`
could be run.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list