Changeset 2331 for inundation/test_all.py
- Timestamp:
- Feb 3, 2006, 11:20:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/test_all.py
r2302 r2331 16 16 #E.g. if they are known to fail and under development 17 17 exclude_files = ['test_metis.py', 'test_version.py', 18 'test_interpolate.py' 18 'test_interpolate.py',# this is under development 19 19 ] 20 20 #'test_calculate_region.py', 'test_calculate_point.py'] … … 59 59 import os, unittest 60 60 path = os.getcwd() 61 62 files = get_test_files(path) 63 64 65 while __file__ in files: 66 try: 67 files.remove(__file__) #Remove self from list (Ver 2.3. or later) 68 except: 69 files.remove('test_all.py') 70 71 61 62 files = [x for x in get_test_files(path) if not x == 'test_all.py'] 63 72 64 print 'Testing path %s:' %('...'+path[-50:]) 73 65 for file in files:
Note: See TracChangeset
for help on using the changeset viewer.