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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 23 15:54:23 CET 2010


Author: luke
Date: Tue Nov 23 15:54:23 2010
New Revision: 40543

URL: http://svn.erp5.org?rev=40543&view=rev
Log:
 - convert list to diff friendly
 - add libexpat

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=40543&r1=40542&r2=40543&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Tue Nov 23 15:54:23 2010
@@ -670,15 +670,31 @@ class AssertSubversion(AssertSoftwareMix
 
   def test_ld_libsvn_fs(self):
     elf_dict = readElfAsDict('parts/subversion/lib/libsvn_fs-1.so')
-    self.assertEqual(sorted(['libsvn_delta-1', 'libsvn_fs_fs-1',
-      'libsvn_fs_util-1', 'libsvn_subr-1', 'libapr-1', 'libuuid', 'librt',
-      'libc', 'libcrypt', 'libdl', 'libpthread',
+    self.assertEqual(sorted([
+      'libapr-1',
+      'libc',
+      'libcrypt',
+      'libdl',
+      'libpthread',
+      'librt',
+      'libsvn_delta-1',
+      'libsvn_fs_fs-1',
+      'libsvn_fs_util-1',
+      'libsvn_subr-1',
+      'libuuid',
       ]),
         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 ['apache', 'sqlite3', 'subversion', 'zlib', 'libuuid',
-          'neon']]
+        software in [
+          'apache',
+          'libuuid',
+          'libexpat',
+          'neon',
+          'sqlite3',
+          'subversion',
+          'zlib',
+          ]]
     self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
 
   def test_ld_libsvn_fs_fs(self):




More information about the Erp5-report mailing list