Commit 90aed4d
authored
[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.1 parent e4c0f30 commit 90aed4d
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
1782 | | - | |
| 1781 | + | |
| 1782 | + | |
1783 | 1783 | | |
1784 | 1784 | | |
1785 | 1785 | | |
1786 | | - | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
1791 | 1790 | | |
1792 | 1791 | | |
1793 | 1792 | | |
| |||
1799 | 1798 | | |
1800 | 1799 | | |
1801 | 1800 | | |
1802 | | - | |
| 1801 | + | |
1803 | 1802 | | |
1804 | | - | |
1805 | 1803 | | |
1806 | 1804 | | |
1807 | 1805 | | |
1808 | 1806 | | |
1809 | 1807 | | |
1810 | 1808 | | |
1811 | 1809 | | |
| 1810 | + | |
1812 | 1811 | | |
1813 | 1812 | | |
1814 | 1813 | | |
| |||
0 commit comments