Commit ea5e22ce authored by Łukasz Nowak's avatar Łukasz Nowak

- assert that ocropus is correctly compiled


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36042 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 73b42069
...@@ -88,6 +88,15 @@ print sys.version_info[:2] ...@@ -88,6 +88,15 @@ print sys.version_info[:2]
class AssertLddLibs(unittest.TestCase): class AssertLddLibs(unittest.TestCase):
"""Checks for dynamic libraries""" """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): def test_tritonn_senna(self):
"""Senna as an library""" """Senna as an library"""
result = os.system("ldd parts/mysql-tritonn-5.0/libexec/mysqld | grep -q " result = os.system("ldd parts/mysql-tritonn-5.0/libexec/mysqld | grep -q "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment