[Erp5-report] r40607 luke - /erp5/trunk/buildout/tests/assertSoftware.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Nov 24 17:18:24 CET 2010


Author: luke
Date: Wed Nov 24 17:18:24 2010
New Revision: 40607

URL: http://svn.erp5.org?rev=40607&view=rev
Log:
 - assert more in gettext

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=40607&r1=40606&r2=40607&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Wed Nov 24 17:18:24 2010
@@ -1752,6 +1752,88 @@ class AssertGettext(AssertSoftwareMixin)
     expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for
         software in [
           'libxml2',
+          'ncurses',
+          'zlib',
+          ]]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
+  def test_ld_libasprintf(self):
+    elf_dict = readElfAsDict('parts/gettext/lib/libasprintf.so')
+    self.assertEqual(sorted([
+      'libc',
+      'libgcc_s',
+      'libm',
+      'libstdc++',
+      ]),
+        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 [
+          'libxml2',
+          'ncurses',
+          'zlib',
+          ]]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
+  def test_ld_libgettextlib(self):
+    elf_dict = readElfAsDict('parts/gettext/lib/libgettextlib.so')
+    self.assertEqual(sorted([
+      'libc',
+      'libdl',
+      'libintl',
+      'libm',
+      'libncurses',
+      'libxml2',
+      'libz',
+      ]),
+        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 [
+          'gettext',
+          'libxml2',
+          'ncurses',
+          'zlib',
+          ]]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
+  def test_ld_libgettextpo(self):
+    elf_dict = readElfAsDict('parts/gettext/lib/libgettextpo.so')
+    self.assertEqual(sorted([
+      'libc',
+      'libintl',
+      ]),
+        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 [
+          'gettext',
+          'libxml2',
+          'ncurses',
+          'zlib',
+          ]]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
+  def test_ld_libgettextsrc(self):
+    elf_dict = readElfAsDict('parts/gettext/lib/libgettextsrc.so')
+    self.assertEqual(sorted([
+      'libc',
+      'libdl',
+      'libgettextlib-0.18.1',
+      'libintl',
+      'libm',
+      'libncurses',
+      'libxml2',
+      'libz',
+      ]),
+        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 [
+          'gettext',
+          'libxml2',
+          'ncurses',
+          'zlib',
           ]]
     self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
 




More information about the Erp5-report mailing list