Index: lldb/packages/Python/lldbsuite/test/decorators.py =================================================================== --- lldb/packages/Python/lldbsuite/test/decorators.py +++ lldb/packages/Python/lldbsuite/test/decorators.py @@ -183,7 +183,7 @@ skip_for_arch = _match_decorator_property( archs, self.getArchitecture()) skip_for_debug_info = _match_decorator_property( - debug_info, self.getDebugInfo()) + debug_info, self.getDebugInfo() if self.getDebugInfo() else "") skip_for_triple = _match_decorator_property( triple, lldb.selected_platform.GetTriple()) skip_for_remote = _match_decorator_property( Index: lldb/test/API/test_utils/TestDecorators.py =================================================================== --- /dev/null +++ lldb/test/API/test_utils/TestDecorators.py @@ -0,0 +1,13 @@ +from lldbsuite.test.lldbtest import Base +from lldbsuite.test.decorators import * + + +class TestDecorators(Base): + + mydir = Base.compute_mydir(__file__) + NO_DEBUG_INFO_TESTCASE = True + + @expectedFailureAll(debug_info="dwarf") + def test_decorator_skip_no_debug_info(self): + """Test that specifying a debug info category works for a NO_DEBUG_INFO_TESTCASE""" + pass