From: <kk...@us...> - 2011-02-08 22:19:39
|
Revision: 118 http://python-control.svn.sourceforge.net/python-control/?rev=118&view=rev Author: kkchen Date: 2011-02-08 22:19:33 +0000 (Tue, 08 Feb 2011) Log Message: ----------- Back to manually adding tests for python <2.7 My method for finding existing tests required you to be in the build directory, it didn't work from any directory once installed. It now DOES work from any directory. The cost though is tests must be manually added to a list in test.py 'testModules'. bb...@ra... Modified Paths: -------------- branches/control-0.4a/src/test.py Modified: branches/control-0.4a/src/test.py =================================================================== --- branches/control-0.4a/src/test.py 2011-02-08 22:19:28 UTC (rev 117) +++ branches/control-0.4a/src/test.py 2011-02-08 22:19:33 UTC (rev 118) @@ -75,7 +75,9 @@ print 'Completed tests in',mod except: #find the modules ourselves without unittest discovery - testModules = findTests() + #testModules = findTests() + testModules =['TestBDAlg','TestConvert','TestFreqRsp','TestMatlab','TestModelsimp',\ + 'TestSlycot','TestStatefbk','TestStateSp','TestXferFcn'] print 'Tests may be incomplete, will attempt to run tests in modules:' for m in testModules: print m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |