Author: bugman Date: Wed Feb 4 18:32:30 2015 New Revision: 27526 URL: http://svn.gna.org/viewcvs/relax?rev=27526&view=rev Log: Fixes for the package checking unit tests on MS Windows for the target_functions package. The compiled relaxation curve-fitting file is called target_functions\relax_fit.pyd on MS Windows. The package checking was only taking into account *.so compiled files and not *.pyd file. 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=27526&r1=27525&r2=27526&view=diff ============================================================================== --- trunk/test_suite/unit_tests/package_checking.py (original) +++ trunk/test_suite/unit_tests/package_checking.py Wed Feb 4 18:32:30 2015 @@ -72,6 +72,8 @@ module = module[:-3] if search('.so$', module): module = module[:-3] + if search('.pyd$', module): + module = module[:-4] # Printout. print(" Module/package: %s" % module) @@ -92,6 +94,8 @@ # Check for the C module. if access(self.package_path+sep+module+'.so', F_OK): continue + if access(self.package_path+sep+module+'.pyd', F_OK): + continue # Check for the package. if access(self.package_path+sep+module, F_OK):