Commit e3bc76af authored by Łukasz Nowak's avatar Łukasz Nowak

- check proper linking of parts/subversion/lib/libsvn_ra_neon-1.so


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40489 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a15b2b90
...@@ -618,14 +618,15 @@ class AssertSubversion(AssertSoftwareMixin): ...@@ -618,14 +618,15 @@ class AssertSubversion(AssertSoftwareMixin):
def test_ld_libsvn_ra_neon(self): def test_ld_libsvn_ra_neon(self):
elf_dict = readElfAsDict('parts/subversion/lib/libsvn_ra_neon-1.so') elf_dict = readElfAsDict('parts/subversion/lib/libsvn_ra_neon-1.so')
self.assertEqual(sorted(['libaprutil-1', 'libsvn_delta-1', self.assertEqual(sorted(['libaprutil-1', 'libsvn_delta-1', 'libcrypto',
'libexpat', 'libsvn_subr-1', 'libapr-1', 'libuuid', 'libexpat', 'libsvn_subr-1', 'libapr-1', 'libuuid', 'libssl', 'libneon',
'librt', 'libc', 'libcrypt', 'libdl', 'libpthread', 'librt', 'libc', 'libcrypt', 'libdl', 'libpthread', 'libm', 'libxml2',
'libz',
]), ]),
elf_dict['library_list']) elf_dict['library_list'])
soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts') soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts')
expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for
software in ['apache', 'libexpat', software in ['apache', 'libexpat', 'openssl', 'libxml2',
'sqlite3', 'subversion', 'zlib', 'libuuid', 'neon']] 'sqlite3', 'subversion', 'zlib', 'libuuid', 'neon']]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment