mailr26795 - /trunk/test_suite/unit_tests/package_checking.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 27, 2014 - 21:50:
Author: bugman
Date: Thu Nov 27 21:50:50 2014
New Revision: 26795

URL: http://svn.gna.org/viewcvs/relax?rev=26795&view=rev
Log:
Modified the package __all__ list checking unit test to accept *.so C modules.


Modified:
    trunk/test_suite/unit_tests/package_checking.py

Modified: trunk/test_suite/unit_tests/package_checking.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/package_checking.py?rev=26795&r1=26794&r2=26795&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/package_checking.py     (original)
+++ trunk/test_suite/unit_tests/package_checking.py     Thu Nov 27 21:50:50 
2014
@@ -89,6 +89,10 @@
             if access(self.package_path+sep+module+'.py', F_OK):
                 continue
 
+            # Check for the C module.
+            if access(self.package_path+sep+module+'.so', F_OK):
+                continue
+
             # Check for the package.
             if access(self.package_path+sep+module, F_OK):
                 continue




Related Messages


Powered by MHonArc, Updated Fri Nov 28 09:00:03 2014