Commit f687e98
committed
[lldb][test] Fix running TestWithLimitDebugInfo.py on Windows
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 918d6db commit f687e98
1 file changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | | - | |
1779 | | - | |
1780 | | - | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1781 | 1781 | | |
1782 | 1782 | | |
1783 | | - | |
1784 | | - | |
1785 | | - | |
1786 | | - | |
1787 | | - | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1788 | 1792 | | |
1789 | 1793 | | |
1790 | 1794 | | |
| |||
1796 | 1800 | | |
1797 | 1801 | | |
1798 | 1802 | | |
1799 | | - | |
| 1803 | + | |
1800 | 1804 | | |
1801 | | - | |
1802 | 1805 | | |
1803 | 1806 | | |
1804 | 1807 | | |
1805 | 1808 | | |
1806 | 1809 | | |
1807 | 1810 | | |
1808 | 1811 | | |
| 1812 | + | |
1809 | 1813 | | |
1810 | 1814 | | |
1811 | 1815 | | |
| |||
0 commit comments