diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index 447fdd1022f371fbacee5befbf2b12fa976ab0c5..929267a0cc045c0cff129a3f2cee9d41fcf93c37 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -88,6 +88,15 @@ print sys.version_info[:2] 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""" result = os.system("ldd parts/mysql-tritonn-5.0/libexec/mysqld | grep -q "