Ignore:
Timestamp:
Oct 21, 2004, 12:40:20 PM (20 years ago)
Author:
ole
Message:

Added exclude list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/test_all.py

    r336 r434  
    1212import os
    1313
     14
     15#List files that should be excluded from the testing process.
     16#E.g. if they are known to fail and under development
     17exclude = ['test_least_squares.py', 'test_cg_solve.py',
     18           'test_interpolate_sww.py']
     19
     20
    1421def regressionTest():
    1522    import sys, os, re, unittest   
     
    2330    except:
    2431        files.remove('test_all.py')
     32
     33
     34    for file in exclude:
     35        files.remove(file)
     36        print 'WARNING: File '+ file + ' excluded from testing'
     37       
    2538
    2639    filenameToModuleName = lambda f: os.path.splitext(f)[0]
Note: See TracChangeset for help on using the changeset viewer.