Changeset 3929


Ignore:
Timestamp:
Nov 7, 2006, 1:34:48 PM (18 years ago)
Author:
ole
Message:

Validation

Location:
anuga_validation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/validate_all.py

    r3706 r3929  
    22"""
    33
     4import os
     5
     6
     7dirs_to_skip = ['.', 'okushiri_tank_validation_ver1']
     8validation_dirs_and_files = []
     9
     10
     11for dirpath, dirnames, filenames in os.walk('.'):
     12
     13    if '.svn' in dirnames:
     14        dirnames.remove('.svn')  # don't visit SVN directories
     15
     16    dir = os.path.split(dirpath)[-1]
     17    if dir in dirs_to_skip:
     18        print 'Skipping %s' %dirpath
     19        continue
     20   
     21    print 'Searching dir', dirpath
     22   
     23
     24    for filename in filenames:
     25        if filename.startswith('validate') and filename.endswith('.py'):
     26            print 'Found %s in %s' %(filename, dirpath)
     27            validation_dirs_and_files.append((dirpath, filename))           
     28
     29
     30
     31for path, filename in validation_dirs_and_files:
     32    s = 'cd %s; python %s' %(path, filename)
     33    print s
     34    os.system(s)
     35           
  • anuga_validation/okushiri_2005/project.py

    r3915 r3929  
    1717
    1818# Model output
    19 output_filename = 'okushiri_new_smaller.sww'
     19output_filename = 'okushiri.sww'
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.