Index: packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py =================================================================== --- packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py +++ packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py @@ -16,6 +16,8 @@ mydir = TestBase.compute_mydir(__file__) + # GetClangResourceDir doesn't work on windows yet + @expectedFailureAll(oslist=["windows"]) @no_debug_info_test def test_paths(self): '''Test to make sure no file names are set in the lldb.SBFileSpec objects returned by lldb.SBHostOS.GetLLDBPath() for paths that are directories''' @@ -25,12 +27,15 @@ lldb.ePathTypePythonDir, lldb.ePathTypeLLDBSystemPlugins, lldb.ePathTypeLLDBUserPlugins, - lldb.ePathTypeLLDBTempSystemDir] + lldb.ePathTypeLLDBTempSystemDir, + lldb.ePathTypeClangDir] for path_type in dir_path_types: f = lldb.SBHostOS.GetLLDBPath(path_type) # No directory path types should have the filename set self.assertTrue(f.GetFilename() is None) + # All directory path types should have the directory set + self.assertFalse(f.GetDirectory() is None) @no_debug_info_test def test_directory_doesnt_end_with_slash(self):