forked from OSchip/llvm-project
[lldb] Add @skipIfXmlSupportMissing to TestWasm.py
These tests rely on being able to parse qXfer:libraries:read packet (which is in xml).
This commit is contained in:
parent
0ac4f6b627
commit
d41d528648
|
@ -94,6 +94,7 @@ class TestWasm(GDBRemoteTestBase):
|
|||
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 @@ class TestWasm(GDBRemoteTestBase):
|
|||
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 @@ class TestWasm(GDBRemoteTestBase):
|
|||
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"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue