Changeset 2638 for inundation/test_all.py
- Timestamp:
- Mar 30, 2006, 10:13:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/test_all.py
r2566 r2638 23 23 exclude_dirs = ['pypar_dist', #Special requirements 24 24 'props', 'wcprops', 'prop-base', 'text-base', '.svn', #Svn 25 'tmp', 26 'pmesh'] #Name conflict on my home machine (Ole) 25 'tmp', 26 'pmesh'] #Name conflict on my home machine (Ole) 27 27 28 28 … … 42 42 #Exclude svn admin dirs 43 43 if file in exclude_dirs: continue 44 44 45 45 absolute_filename = path + os.sep + file 46 46 … … 60 60 import os, unittest 61 61 path = os.getcwd() 62 62 63 63 files = [x for x in get_test_files(path) if not x == 'test_all.py'] 64 64 65 65 print 'Testing path %s:' %('...'+path[-50:]) 66 66 for file in files: … … 80 80 81 81 if __name__ == '__main__': 82 unittest.main(defaultTest='regressionTest') 82 #unittest.main(defaultTest='regressionTest') 83 84 suite = regressionTest() 85 runner = unittest.TextTestRunner() #verbosity=2 86 runner.run(suite)
Note: See TracChangeset
for help on using the changeset viewer.