/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1003 by johnpye, Sun Dec 31 02:35:27 2006 UTC revision 1008 by johnpye, Tue Jan 2 11:45:24 2007 UTC
# Line 1  Line 1 
1    #!/usr/bin/env python
2  import unittest  import unittest
3  import ascpy  import ascpy
4  import math  import math
# Line 376  class NotToBeTested: Line 377  class NotToBeTested:
377          pass          pass
378                    
379  if __name__=='__main__':  if __name__=='__main__':
     pass  
380      atexit.register(ascpy.shutdown)      atexit.register(ascpy.shutdown)
381      suite = unittest.TestSuite()      #suite = unittest.TestSuite()
382      #suite = unittest.defaultTestLoader.loadTestsFromName('__main__')      #suite = unittest.defaultTestLoader.loadTestsFromName('__main__')
383      suite.addTests(cunit.load("base/generic/test/libasctestsuite.so"))      #unittest.TextTestRunner(verbosity=2).run(suite)
384      #suite.addTest(TestLSODE)      unittest.main()
     #suite.addTests(csuites)  
     unittest.TextTestRunner(verbosity=2).run(suite)  

Legend:
Removed from v.1003  
changed lines
  Added in v.1008

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22