Changeset 7107
- Timestamp:
- May 28, 2009, 7:57:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy_anuga_validation/automated_validation_tests/patong_beach_validation/validate.py
r7087 r7107 32 32 'http://dfn.dl.sourceforge.net/sourceforge/anuga/' # de 33 33 ] 34 34 35 ### for testing 35 36 ##MIRRORS = ['http://10.7.64.243/patong_validation_data/'] # local linux box … … 45 46 # these names must be of the form <scene>.sww.<type>.tgz 46 47 # as code below depends upon it. 47 Optional_Data_Objects = ('patong.sww.TRIAL.tgz', 48 Optional_Data_Objects = ( 49 'patong.sww.TRIAL.tgz', 48 50 'patong.sww.BASIC.tgz', 49 #'patong.sww.FINAL.tgz'51 'patong.sww.FINAL.tgz' 50 52 ) 51 53 … … 118 120 return (True, auth) 119 121 log.debug('Failure fetching from %s' % mirror) 122 auth = None 120 123 121 124 log.debug('Failure fetching file %s' % remote) … … 195 198 log.info('Refresh of file %s failed.' % data_object) 196 199 result = False 200 # don't use possibly bad 'auth' again, 201 # some proxies lock out on repeated failures. 202 auth = None 197 203 198 204 if result: … … 377 383 378 384 # prepare user for what is about to happen 379 380 msg = ''' 385 log.critical(''' 381 386 Please note that this validation test is accurate only on 64bit Linux or 382 387 Windows. Running the validation on a 32bit operating system will result in … … 396 401 if you wish. If not supplied in environment variables you will be prompted for 397 402 the information. 398 ''' 399 400 log.critical(msg) 403 ''') 404 401 405 402 406 # make sure local data is up to date … … 442 446 443 447 # clean up 448 log.critical('Tearing down ...') 444 449 teardown()
Note: See TracChangeset
for help on using the changeset viewer.