Changeset 13405

Show
Ignore:
Timestamp:
12/20/07 19:07:49 (5 months ago)
Author:
mloskot
Message:

Added cleanup procedure to adrg.py test suite.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/autotest/gdrivers/adrg.py

    r12708 r13405  
    154154 
    155155 
     156############################################################################### 
     157# Cleanup procedure 
     158 
     159def adrg_cleanup(): 
     160 
     161    try: 
     162        os.remove('data/SMALL_ADRG/ABCDEF01.GEN.aux.xml') 
     163        os.remove('tmp/ABCDEF01.GEN.aux.xml') 
     164        os.remove('tmp/ABCDEF01.IMG') 
     165        os.remove('tmp/TRANSH01.THF') 
     166    except: 
     167        pass 
     168 
     169    return 'success' 
     170 
     171############################################################################### 
    156172gdaltest_list = [ 
    157173    adrg_1, 
    158     adrg_2 ] 
     174    adrg_2, 
     175    adrg_cleanup ] 
    159176 
    160177if __name__ == '__main__':