Skip to content

Commit c95353a

Browse files
author
Kevin Chen
committed
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'. bbelson@rainier.princeton.edu
1 parent b39f02e commit c95353a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def tests(verbosity=2):
7575
print 'Completed tests in',mod
7676
except:
7777
#find the modules ourselves without unittest discovery
78-
testModules = findTests()
78+
#testModules = findTests()
79+
testModules =['TestBDAlg','TestConvert','TestFreqRsp','TestMatlab','TestModelsimp',\
80+
'TestSlycot','TestStatefbk','TestStateSp','TestXferFcn']
7981
print 'Tests may be incomplete, will attempt to run tests in modules:'
8082
for m in testModules:
8183
print m

0 commit comments

Comments
 (0)