Changeset 7262


Ignore:
Timestamp:
Jun 24, 2009, 4:24:04 PM (14 years ago)
Author:
ole
Message:

Introduced execfile at one level of the autovalidation where it is OK to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_anuga_validation/automated_validation_tests/validate_all.py

    r7248 r7262  
    3737    # print 'filename path', path, filename
    3838
    39     os.chdir(path)
    40     s = 'python %s' %(filename)
    41     print s
    42     os.system(s)
    43    
    44     # Back to parent directory
    45     os.chdir(os.pardir)
     39    os.chdir(path)      # Change to sub directory
     40    execfile(filename)  # Run validation test
     41    os.chdir(os.pardir) # Back to parent directory
    4642
    4743    # print 'current dir', os.getcwd()
Note: See TracChangeset for help on using the changeset viewer.