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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 23 13:22:50 CET 2010


Author: luke
Date: Tue Nov 23 13:22:49 2010
New Revision: 40535

URL: http://svn.erp5.org?rev=40535&view=rev
Log:
 - start checking 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=40535&r1=40534&r2=40535&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Tue Nov 23 13:22:49 2010
@@ -1654,6 +1654,19 @@ class AssertPython26(AssertSoftwareMixin
           ]]
     self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
 
+class AssertGettext(AssertSoftwareMixin):
+  def test_ld_libintl(self):
+    elf_dict = readElfAsDict('parts/gettext/lib/libintl.so')
+    self.assertEqual(sorted([
+      'libc',
+      ]),
+        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 [
+          ]]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
 class AssertElfLinkedInternally(AssertSoftwareMixin):
   def test(self):
     result_dict = {}




More information about the Erp5-report mailing list