summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/function_symbol
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/function_symbol')
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py3
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py b/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
index 4511da94437b..f657d19764ba 100644
--- a/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
+++ b/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
@@ -28,10 +28,11 @@ class DisasmAPITestCase(TestBase):
'main.c', '// Find the line number for breakpoint 2 here.')
@add_test_categories(['pyapi'])
+ @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.build()
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
# Create a target by the debugger.
target = self.dbg.CreateTarget(exe)
diff --git a/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py b/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
index 9919375abb59..6644b81ef2a9 100644
--- a/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
+++ b/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
@@ -28,10 +28,11 @@ class SymbolAPITestCase(TestBase):
'main.c', '// Find the line number for breakpoint 2 here.')
@add_test_categories(['pyapi'])
+ @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.build()
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
# Create a target by the debugger.
target = self.dbg.CreateTarget(exe)