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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 25 17:12:00 CET 2010


Author: luke
Date: Thu Nov 25 17:12:00 2010
New Revision: 40719

URL: http://svn.erp5.org?rev=40719&view=rev
Log:
 - check fontconfig build

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=40719&r1=40718&r2=40719&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Thu Nov 25 17:12:00 2010
@@ -1788,6 +1788,51 @@ class AssertGhostscript(AssertSoftwareMi
       'fontconfig',
       ])
 
+class AssertFontconfig(AssertSoftwareMixin):
+  core_lib_list = [
+      'libc',
+      'libexpat',
+      'libfreetype',
+      'libz',
+      ]
+  core_rpath_list = [
+      'freetype',
+      'libexpat',
+      'zlib',
+      ]
+
+  def test_ld_libfontconfig(self):
+    self.assertLibraryList('parts/fontconfig/lib/libfontconfig.so',
+        self.core_lib_list, self.core_rpath_list)
+
+  lib_list = core_lib_list + ['libfontconfig']
+  rpath_list = core_rpath_list + ['fontconfig']
+
+  def test_ld_fccache(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-cache', self.lib_list,
+        self.rpath_list)
+
+  def test_ld_fccat(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-cat', self.lib_list,
+        self.rpath_list)
+
+  def test_ld_fclist(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-list', self.lib_list,
+        self.rpath_list)
+
+  def test_ld_fcmatch(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-match', self.lib_list,
+        self.rpath_list)
+
+  def test_ld_fcquery(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-query', self.lib_list,
+        self.rpath_list)
+
+  def test_ld_fcscan(self):
+    self.assertLibraryList('parts/fontconfig/bin/fc-scan', self.lib_list,
+        self.rpath_list)
+
+
 class AssertElfLinkedInternally(AssertSoftwareMixin):
   def test(self):
     result_dict = {}




More information about the Erp5-report mailing list