Changeset 3132
- Timestamp:
- 02/25/10 07:47:21 (15 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r2244 r3132 75 75 cluster_codepath=$ISSM_DIR/bin 76 76 cluster_executionpath=$EXECUTION_PATH 77 cluster_login=$USER 77 78 78 79 end -
issm/trunk/cron/report.sh
r2233 r3132 2 2 #generate html report from nightly.log output file 3 3 4 #First go to the nightly run directory (created by nightlyrun.sh) 4 5 cd $ISSM_DIR/test/Verification/NightlyRun/ 6 7 #----------------------------# 8 # Initialize local variables # 9 #----------------------------# 5 10 6 11 #process nightly.log … … 58 63 fi 59 64 60 #build report.html 65 #-------------------# 66 # build report.html # 67 #-------------------# 61 68 62 69 #first: summary … … 111 118 fi 112 119 113 #Matlab error report 114 if [ -e matlaberror.log ] 115 then 116 cat << END > matlaberror.html 117 <table $H2_STYLE><tr><td $H2_FONT>Matlab error</td></tr></table> 118 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 119 <pre>$(cat matlaberror.log)</pre> 120 </td></tr></table> 121 END 122 else 123 mktemp matlaberror.html 124 fi 125 126 #report content 120 121 #report table 127 122 if [ $IS_RUN -eq 1 ]; 128 123 then … … 189 184 fi 190 185 186 #Matlab error report 187 if [ -e matlaberror.log ] 188 then 189 cat << END > matlaberror.html 190 <table $H2_STYLE><tr><td $H2_FONT>Matlab error</td></tr></table> 191 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 192 <pre>$(cat matlaberror.log)</pre> 193 </td></tr></table> 194 END 195 else 196 mktemp matlaberror.html 197 fi 198 191 199 #last footer 192 200 cat << END > footer.html … … 197 205 198 206 #concatenate files 199 cat summary.html matlaberror.html content.html footer.html > report.html207 cat summary.htmlcontent.html matlaberror.html footer.html > report.html 200 208 rm summary.html content.html footer.html matlaberror.html matlab.log
Note:
See TracChangeset
for help on using the changeset viewer.