[Lldb-commits] [lldb] d41d528 - [lldb] Add @skipIfXmlSupportMissing to TestWasm.py
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 17 04:13:05 PST 2020
Author: Pavel Labath
Date: 2020-02-17T13:12:52+01:00
New Revision: d41d5286485beacc06190af17b9e23767e22e7ab
URL: https://github.com/llvm/llvm-project/commit/d41d5286485beacc06190af17b9e23767e22e7ab
DIFF: https://github.com/llvm/llvm-project/commit/d41d5286485beacc06190af17b9e23767e22e7ab.diff
LOG: [lldb] Add @skipIfXmlSupportMissing to TestWasm.py
These tests rely on being able to parse qXfer:libraries:read packet
(which is in xml).
Added:
Modified:
lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py b/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
index 8929e0e44e62..859a9176c417 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
@@ -94,6 +94,7 @@ def tearDown(self):
lldb.DBG.SetSelectedPlatform(self._initial_platform)
super(TestWasm, self).tearDown()
+ @skipIfXmlSupportMissing
def test_load_module_with_embedded_symbols_from_remote(self):
"""Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module with embedded DWARF symbols"""
@@ -136,6 +137,7 @@ def test_load_module_with_embedded_symbols_from_remote(self):
self.assertEquals(load_address | debug_line_section.GetFileOffset(), debug_line_section.GetLoadAddress(target))
+ @skipIfXmlSupportMissing
def test_load_module_with_stripped_symbols_from_remote(self):
"""Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module with symbols stripped into a separate Wasm file"""
@@ -186,6 +188,7 @@ def test_load_module_with_stripped_symbols_from_remote(self):
self.assertEquals(LLDB_INVALID_ADDRESS, debug_line_section.GetLoadAddress(target))
+ @skipIfXmlSupportMissing
def test_load_module_from_file(self):
"""Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module from a file"""
More information about the lldb-commits
mailing list