- Timestamp:
- Apr 14, 2009, 12:15:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/patong_validation/validate_patong.py
r6785 r6787 87 87 local_digest, auth=auth) 88 88 if auth == False: 89 print 'point 1'90 89 return False 91 90 log.info('Fetching remote file %s' % object_url) 92 91 auth = get_web_file(object_url+cache_defeat, local_file, auth=auth) 93 92 if auth == False: 94 print 'point 2'95 93 return False 96 94 else: … … 100 98 remote_digest, auth=auth) 101 99 if auth == False: 102 print 'point 3'103 100 return False 104 101 … … 154 151 Return True if we *can* run, else False. 155 152 ''' 153 154 log.critical('Checking if you have the required files ...') 156 155 157 156 for obj in Local_Data_Objects: … … 183 182 184 183 # run the simulation, produce SWW file 185 log. debug('Running Patong simulation ...')184 log.critical('Running Patong simulation ...') 186 185 cmd = 'python run_model.py > %s' % RUNMODEL_STDOUT 187 186 res = os.system(cmd) … … 192 191 193 192 # get path to expected SWW file 194 log. debug('Checking that simulation results are as expected ...')193 log.critical('Checking that simulation results are as expected ...') 195 194 local_sww = os.path.join(Local_Data_Directory, Local_Data_Objects[0]) 196 195 … … 275 274 # make sure local data is up to date 276 275 if not update_local_data(): 277 print 'update_local_data() returned False'278 276 if not can_we_run(): 279 print 'can_we_run() returned False'280 277 log.critical('') 281 278 log.critical('*'*80)
Note: See TracChangeset
for help on using the changeset viewer.