[Erp5-report] r40532 luke - /erp5/trunk/buildout/tests/assertSoftware.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 23 12:06:49 CET 2010
Author: luke
Date: Tue Nov 23 12:06:49 2010
New Revision: 40532
URL: http://svn.erp5.org?rev=40532&view=rev
Log:
- start asserting python2.6
Modified:
erp5/trunk/buildout/tests/assertSoftware.py
Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=40532&r1=40531&r2=40532&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Tue Nov 23 12:06:49 2010
@@ -1630,6 +1630,29 @@ class AssertCyrusSasl(AssertSoftwareMixi
]]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+class AssertPython26(AssertSoftwareMixin):
+ def test_ld_dyn_locale(self):
+ elf_dict = readElfAsDict('parts/python2.6/lib/python2.6/lib-dynload/_locale.so')
+ self.assertEqual(sorted([
+ 'libc',
+ 'libintl',
+ 'libpthread',
+ ]),
+ elf_dict['library_list'])
+ soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts')
+ expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for
+ software in [
+ 'bzip2',
+ 'gdbm',
+ 'gettext',
+ 'libdb',
+ 'ncurses',
+ 'openssl',
+ 'readline',
+ 'sqlite3',
+ 'zlib',
+ ]]
+ self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
class AssertElfLinkedInternally(AssertSoftwareMixin):
def test(self):
More information about the Erp5-report
mailing list