diff options
| author | David Spickett <david.spickett@linaro.org> | 2026-01-07 15:26:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-07 15:26:55 +0000 |
| commit | 38657c0ded4800a407f574233892c50b731f2a8d (patch) | |
| tree | f5200c039525823bbce0ceeb33937a2c7fdb90d5 /lldb/test/API/python_api | |
| parent | d38959e87a84a889f531090e0545a698cbc54afb (diff) | |
| download | llvm-38657c0ded4800a407f574233892c50b731f2a8d.zip llvm-38657c0ded4800a407f574233892c50b731f2a8d.tar.gz llvm-38657c0ded4800a407f574233892c50b731f2a8d.tar.bz2 | |
[lldb] Add zlib to version -v output (#174753)
I know this is required for at least one feature, because
TestSectionAPI.py has failures if zlib isn't enabled. So I think it's
useful for users to be able to check.
Now that it's in the config, I have also used it to make a test
annotation so we don't get the failure in TestSectionAPI.py when zlib is
disabled.
Which for future reference was:
Traceback (most recent call last):
File
"/home/davspi01/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 452, in wrapper
return func(self, *args, **kwargs)
File
"/home/davspi01/llvm-project/lldb/test/API/python_api/section/TestSectionAPI.py",
line 67, in test_compressed_section_data
self.assertEqual(section_data, [0x20, 0x30, 0x40, 0x50, 0x60, 0x70,
0x80, 0x90])
AssertionError: Lists differ: [] != [32, 48, 64, 80, 96, 112, 128, 144]
As it failed to decode the compressed section.
Diffstat (limited to 'lldb/test/API/python_api')
| -rw-r--r-- | lldb/test/API/python_api/section/TestSectionAPI.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/section/TestSectionAPI.py b/lldb/test/API/python_api/section/TestSectionAPI.py index b874a78..faad1ba 100644 --- a/lldb/test/API/python_api/section/TestSectionAPI.py +++ b/lldb/test/API/python_api/section/TestSectionAPI.py @@ -53,6 +53,7 @@ class SectionAPITestCase(TestBase): @no_debug_info_test @skipIfXmlSupportMissing + @skipIfZLIBSupportMissing def test_compressed_section_data(self): exe = self.getBuildArtifact("compressed-sections.out") self.yaml2obj("compressed-sections.yaml", exe) |
