Changeset 8532


Ignore:
Timestamp:
Aug 22, 2012, 8:40:39 PM (12 years ago)
Author:
steve
Message:

Making the output of produce_results in validation_tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/produce_results.py

    r8529 r8532  
    66import anuga
    77import time
     8from anuga import indent
    89
    910#--------------------------------
     
    3536os.chdir('./Tests')
    3637
     38print 'Tests'
    3739for dir in Upper_dirs:
    3840
    3941    os.chdir(dir)
    40     print 'Changing to', os.getcwd()
     42
     43    print indent + dir
     44    #print 'Changing to', os.getcwd()
    4145    Lower_dirs = os.listdir('.')
    4246    try:
     
    4751    for l_dir in Lower_dirs:
    4852        os.chdir(l_dir)
    49         print 'Changing to', os.getcwd()
     53        #print os.getcwd()
     54        print 2*indent + l_dir
    5055        try:
    5156            cmd = 'python produce_results.py'
    52             print 'Running: '+cmd
     57            print 3*indent + 'Running: '+cmd
    5358            os.system( cmd )
    5459        except:
    55             print 'Failed running produce_results in '+os.getcwd()
     60            print 3*indent + 'Failed running produce_results in '+os.getcwd()
    5661            pass
    5762
     
    6065
    6166    os.chdir('..')
    62     print 'Changing to', os.getcwd()
     67    #print 'Changing to', os.getcwd()
    6368   
    6469os.chdir('..')
Note: See TracChangeset for help on using the changeset viewer.