Commit b534c3ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a test to check if pysvn binary is well linked with our own libraries.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40632 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8eef586d
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
import os import os
import subprocess import subprocess
import unittest import unittest
from distutils import util
try: try:
any([True]) any([True])
...@@ -1445,6 +1446,31 @@ class AssertBzip2(AssertSoftwareMixin): ...@@ -1445,6 +1446,31 @@ class AssertBzip2(AssertSoftwareMixin):
], [ ], [
]) ])
class AssertPysvn(AssertSoftwareMixin):
def test_ld_pysvn(self):
python_version_major, python_version_minor = util.sys.version_info[0:2]
self.assertLibraryList('develop-eggs/pysvn-1.7.4-py%s.%s-%s.egg/pysvn/_pysvn_%s_%s.so' % (
python_version_major, python_version_minor, util.get_platform(),
python_version_major, python_version_minor), [
'libc',
'libcom_err',
'libexpat',
'libgcc_s',
'libm',
'libneon',
'libresolv',
'libssl',
'libstdc++',
'libsvn_client-1',
'libsvn_diff-1',
'libsvn_repos-1',
], [
'libexpat',
'neon',
'openssl',
'subversion'
])
class AssertElfLinkedInternally(AssertSoftwareMixin): class AssertElfLinkedInternally(AssertSoftwareMixin):
def test(self): def test(self):
result_dict = {} result_dict = {}
......
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