summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py b/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py
index 7fc9a743d32..96e1446c278 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py
@@ -32,6 +32,15 @@ class TestPaths(TestBase):
# No directory path types should have the filename set
self.assertTrue(f.GetFilename() is None)
+ # TODO: Merge into test_path when GetClangResourceDir is implemented on
+ # windows
+ @expectedFailureAll(oslist=["windows"])
+ @no_debug_info_test
+ def test_clang_dir_path(self):
+ '''Test to make sure clang dir is set correctly'''
+ clang_dir = lldb.SBHostOS.GetLLDBPath(lldb.ePathTypeClangDir)
+ self.assertFalse(clang_dir.GetDirectory() is None)
+
@no_debug_info_test
def test_directory_doesnt_end_with_slash(self):
current_directory_spec = lldb.SBFileSpec(os.path.curdir)
OpenPOWER on IntegriCloud