Changeset 12163
- Timestamp:
- 05/01/12 09:11:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.m
r11593 r12163 30 30 % md=runme('id',102,'procedure','model'); 31 31 32 %Get ISSM_ TIER variable33 ISSM_ TIER=issmtier();32 %Get ISSM_DIR variable 33 ISSM_DIR=issmdir(); 34 34 35 35 %Check inputs … … 168 168 message=getReport(me2); 169 169 if strcmpi(output,'nightly') 170 fid=fopen([ISSM_ TIER '/nightlylog/matlaberror.log'], 'at');170 fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at'); 171 171 fprintf(fid,'%s',message); 172 172 fprintf(fid,'\n------------------------------------------------------------------\n'); … … 174 174 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,fieldname)); 175 175 elseif strcmpi(output,'daily'); 176 fid=fopen([ISSM_ TIER '/dailylog/matlaberror.log'], 'at');176 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at'); 177 177 fprintf(fid,'%s',message); 178 178 fprintf(fid,'\n------------------------------------------------------------------\n'); … … 193 193 message=getReport(me); 194 194 if strcmpi(output,'nightly') 195 fid=fopen([ISSM_ TIER '/nightlylog/matlaberror.log'], 'at');195 fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at'); 196 196 fprintf(fid,'%s',message); 197 197 fprintf(fid,'\n------------------------------------------------------------------\n'); … … 199 199 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,'N/A')); 200 200 elseif strcmpi(output,'daily'); 201 fid=fopen([ISSM_ TIER '/dailylog/matlaberror.log'], 'at');201 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at'); 202 202 fprintf(fid,'%s',message); 203 203 fprintf(fid,'\n------------------------------------------------------------------\n');
Note:
See TracChangeset
for help on using the changeset viewer.