Changeset 5104
- Timestamp:
 - 08/09/10 15:40:29 (15 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  issm/trunk/test/NightlyRun/runme.m (modified) (6 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk/test/NightlyRun/runme.m
r5100 r5104 143 143 %something went wrong, print failure message: 144 144 directory=strsplit(pwd,'/'); 145 message=getReport(me2) 145 message=getReport(me2); 146 146 if strcmpi(output,'nightly') 147 147 fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at'); … … 149 149 fprintf(fid,'\n------------------------------------------------------------------\n'); 150 150 fclose(fid); 151 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id), 'N/A'));151 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname)); 152 152 elseif strcmpi(output,'daily'); 153 153 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at'); … … 155 155 fprintf(fid,'\n------------------------------------------------------------------\n'); 156 156 fclose(fid); 157 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A')); 157 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname)); 158 else 159 rethrow(me2); 158 160 end 159 161 end … … 165 167 %something went wrong, print failure message: 166 168 directory=strsplit(pwd,'/'); 167 message=getReport(me) 169 message=getReport(me); 168 170 if strcmpi(output,'nightly') 169 171 fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at'); … … 171 173 fprintf(fid,'\n------------------------------------------------------------------\n'); 172 174 fclose(fid); 173 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id), fieldname));175 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A')); 174 176 elseif strcmpi(output,'daily'); 175 177 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at'); … … 177 179 fprintf(fid,'\n------------------------------------------------------------------\n'); 178 180 fclose(fid); 179 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname)); 181 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A')); 182 else 183 rethrow(me); 180 184 end 181 185 end  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)