Changeset 2331
- Timestamp:
- Feb 3, 2006, 11:20:56 AM (19 years ago)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/compile.py
r2141 r2331 298 298 path = '.' 299 299 files = os.listdir(path) 300 301 302 300 303 301 for filename in files: 304 302 root, ext = splitext(filename) -
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: -
test_all.py
r2302 r2331 3 3 buildroot = os.getcwd() 4 4 os.chdir('inundation') 5 print 'Changing to', os.getcwd()5 print 'Changing to', buildroot 6 6 7 7 execfile('test_all.py')
Note: See TracChangeset
for help on using the changeset viewer.