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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 7 17:35:40 CEST 2010


Author: luke
Date: Mon Jun  7 17:35:38 2010
New Revision: 36042

URL: http://svn.erp5.org?rev=36042&view=rev
Log:
 - assert that ocropus is correctly compiled

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=36042&r1=36041&r2=36042&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Mon Jun  7 17:35:38 2010
@@ -87,6 +87,15 @@
 
 class AssertLddLibs(unittest.TestCase):
   """Checks for dynamic libraries"""
+
+  def test_ocropus(self):
+    """Senna as an library"""
+    result = os.system("ldd parts/ocropus/bin/ocropus | grep -q "
+        "'parts/ocropus/lib/libocropus.so'")
+    self.assertEqual(result, 0)
+    result = os.system("ldd parts/ocropus/bin/ocropus | grep -q "
+        "'parts/.*/lib/libiulib.so'")
+    self.assertEqual(result, 0)
 
   def test_tritonn_senna(self):
     """Senna as an library"""




More information about the Erp5-report mailing list