Commit 91de921a authored by Łukasz Nowak's avatar Łukasz Nowak

- check neon instead of serf, which is not provided by default


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40486 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1589828f
...@@ -681,19 +681,17 @@ class AssertSubversion(AssertSoftwareMixin): ...@@ -681,19 +681,17 @@ class AssertSubversion(AssertSoftwareMixin):
'sqlite3', 'zlib', 'libuuid', 'neon']] 'sqlite3', 'zlib', 'libuuid', 'neon']]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
class AssertSerf(AssertSoftwareMixin): class AssertNeon(AssertSoftwareMixin):
"""Tests for built serf""" """Tests for built neon"""
def test_ld_libserf(self): def test_ld_libneon(self):
elf_dict = readElfAsDict('parts/serf/lib/libserf-0.so.0.0.0') elf_dict = readElfAsDict('parts/neon/lib/libneon.so')
self.assertEqual(sorted([ self.assertEqual(sorted([
'libapr-1', 'libaprutil-1', 'libc', 'libcrypt', 'libcrypto', 'libc', 'libcrypto', 'libxml2', 'libdl', 'libm', 'libssl', 'libz',
'libdl', 'libexpat', 'libm', 'libpthread', 'librt',
'libssl', 'libuuid', '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', 'openssl', 'libexpat', 'libuuid', 'zlib']] software in ['openssl', 'libxml2', 'zlib']]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
class AssertPythonMysql(AssertSoftwareMixin): class AssertPythonMysql(AssertSoftwareMixin):
......
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