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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 22 17:33:53 CET 2010


Author: luke
Date: Mon Nov 22 17:33:52 2010
New Revision: 40494

URL: http://svn.erp5.org?rev=40494&view=rev
Log:
 - skip some known to contain wrong links paths

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=40494&r1=40493&r2=40494&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Mon Nov 22 17:33:52 2010
@@ -60,6 +60,11 @@ ACCEPTABLE_GLOBAL_LIB_LIST = (
   'linux-vdso.so',
 )
 
+SKIP_PART_LIST = (
+  'parts/boost-lib-download',
+  'parts/openoffice-bin',
+  'parts/openoffice-bin__unpack__',
+)
 def getCleanList(s):
   """Converts free form string separated by whitespaces to python list"""
   return sorted([q.strip() for q in s.split() if len(q.strip()) > 0])
@@ -1417,6 +1422,9 @@ class AssertElfLinkedInternally(AssertSo
     root = os.path.join(os.path.abspath(os.curdir), 'parts')
     for dirpath, dirlist, filelist in os.walk(root):
       for filename in filelist:
+        # skip some not needed places
+        if any([q in dirpath for q in SKIP_PART_LIST]):
+          continue
         filename = os.path.join(dirpath, filename)
         link_list = readLddInfoList(filename)
         bad_link_list = [q for q in link_list if not q.startswith(root) \




More information about the Erp5-report mailing list