Changeset 3464
- Timestamp:
- Aug 8, 2006, 4:50:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/test_all.py
r3422 r3464 16 16 #List files that should be excluded from the testing process. 17 17 #E.g. if they are known to fail and under development 18 exclude_files = ['test_ metis.py', 'test_version.py', 'test_parallel_sw.py',18 exclude_files = ['test_version.py', 19 19 'test_advection.py', # removing this test for a bit 20 20 ] … … 76 76 if globals().has_key('exclude_files'): 77 77 for file in exclude_files: 78 files.remove(file) 79 print 'WARNING: File '+ file + ' excluded from testing' 78 print 'WARNING: File '+ file + ' to be excluded from testing' 79 try: 80 files.remove(file) 81 except ValueError, e: 82 msg = 'File "%s" was not found in test suite.\n' %file 83 msg += 'Original error is "%s"\n' %e 84 msg += 'Perhaps it should be removed from exclude list?' 85 raise Exception, msg 80 86 81 87 filenameToModuleName = lambda f: os.path.splitext(f)[0]
Note: See TracChangeset
for help on using the changeset viewer.