summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-01-14 21:42:53 +0000
committerZachary Turner <zturner@google.com>2015-01-14 21:42:53 +0000
commit12947b7e25e38d5b15c82e6f26388e99a77acc2a (patch)
treeafda18fec5daf8b695b30e53b440f329958324e0 /lldb/test/python_api
parent6e7ab02cffea3844aba7bbe33e53f5b7fd97bde6 (diff)
downloadbcm5719-llvm-12947b7e25e38d5b15c82e6f26388e99a77acc2a.tar.gz
bcm5719-llvm-12947b7e25e38d5b15c82e6f26388e99a77acc2a.zip
Fix a number of tests on Windows.
These fix various issues with path handling and disable a few tests which use features of LLVM which are not yet supported on Windows. llvm-svn: 226042
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/target/TestTargetAPI.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py
index 7b4d3e1651f..1699786b8d1 100644
--- a/lldb/test/python_api/target/TestTargetAPI.py
+++ b/lldb/test/python_api/target/TestTargetAPI.py
@@ -310,7 +310,7 @@ class TargetAPITestCase(TestBase):
# While we are at it, let's also exercise the similar SBModule.FindGlobalVariables() API.
for m in target.module_iter():
- if m.GetFileSpec().GetDirectory() == os.getcwd() and m.GetFileSpec().GetFilename() == exe_name:
+ if os.path.normpath(m.GetFileSpec().GetDirectory()) == os.getcwd() and m.GetFileSpec().GetFilename() == exe_name:
value_list = m.FindGlobalVariables(target, 'my_global_var_of_char_type', 3)
self.assertTrue(value_list.GetSize() == 1)
self.assertTrue(value_list.GetValueAtIndex(0).GetValue() == "'X'")
OpenPOWER on IntegriCloud