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

- convert list for future diffs


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40544 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 77aeae25
...@@ -598,19 +598,48 @@ class AssertSubversion(AssertSoftwareMixin): ...@@ -598,19 +598,48 @@ class AssertSubversion(AssertSoftwareMixin):
def test_ld_svnsync(self): def test_ld_svnsync(self):
elf_dict = readElfAsDict('parts/subversion/bin/svnsync') elf_dict = readElfAsDict('parts/subversion/bin/svnsync')
self.assertEqual(sorted(['libsvn_ra-1', 'libsvn_ra_local-1', self.assertEqual(sorted([
'libsvn_repos-1', 'libsvn_fs-1', 'libsvn_fs_fs-1', 'libsvn_fs_util-1', 'libapr-1',
'libsvn_ra_svn-1', 'libsvn_delta-1', 'libsvn_subr-1', 'libsqlite3', 'libaprutil-1',
'libaprutil-1', 'libapr-1', 'libuuid', 'librt', 'libexpat', 'libc',
'libz', 'libssl', 'libcrypto', 'libcrypt',
'libc', 'libcrypt', 'libdl', 'libxml2', 'libcrypto',
'libpthread', 'libm', 'libneon', 'libsvn_ra_neon-1', 'libdl',
'libexpat',
'libm',
'libneon',
'libpthread',
'librt',
'libsqlite3',
'libssl',
'libsvn_delta-1',
'libsvn_fs-1',
'libsvn_fs_fs-1',
'libsvn_fs_util-1',
'libsvn_ra-1',
'libsvn_ra_local-1',
'libsvn_ra_neon-1',
'libsvn_ra_svn-1',
'libsvn_repos-1',
'libsvn_subr-1',
'libuuid',
'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', 'openssl', 'libxml2', software in [
'sqlite3', 'subversion', 'zlib', 'libuuid', 'neon']] 'apache',
'libexpat',
'libuuid',
'libxml2',
'neon',
'openssl',
'sqlite3',
'subversion',
'zlib',
]]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
def test_ld_svnversion(self): def test_ld_svnversion(self):
......
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