Changeset 4409


Ignore:
Timestamp:
Apr 23, 2007, 10:03:06 AM (18 years ago)
Author:
nick
Message:

update to automated tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/validate_all.py

    r4403 r4409  
    3131for path, filename in validation_dirs_and_files:
    3232    print 'filename path',path, filename
     33
    3334    os.chdir(path)
    34     current_dir= os.getcwd( )
    35     print 'current dir', current_dir
    3635    s = 'python %s' %( filename)
    37     print 's',s
    38     current_dir= os.getcwd( )
    39     print 'current dir', current_dir
    4036    os.system(s)
    41 #    os.chdir('/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_validation/automated_validation_tests')
    42     current_dir= os.getcwd( )
    43     print 'current dir', current_dir
    44     print 'os.pardir',os.pardir
     37    print 'current dir', os.getcwd()
     38   
     39    #back to parent directory
     40    os.chdir(os.pardir)
     41
     42    print 'current dir', os.getcwd()
    4543   
    4644   
Note: See TracChangeset for help on using the changeset viewer.