Changeset 13218
- Timestamp:
- 09/01/12 08:48:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/scripts/report.sh
r13210 r13218 4 4 #style 5 5 #{{{ 6 H1_STYLE='width="700px" cellpadding="5"'7 H1_FONT='style="color:#6495ed; font-family:Arial, Verdana, Tahoma; font-weight: bold; font-size:30px;" align="center"'8 H2_STYLE='width="700px" cellpadding="5"'9 H2_FONT='style="color:#6495ed; font-family:Arial, Verdana, Tahoma; font-size:25px; font-weight: bold;" align="left"'6 TITLE_STYLE='width="700px" cellpadding="10"' 7 TITLE_FONT='style="color:#6495ed; font-family:Arial, Verdana, Tahoma; font-weight: bold; font-size:25px;" align="center"' 8 SECTION_STYLE='width="700px" cellpadding="5"' 9 SECTION_FONT='style="color:#6495ed; font-family:Arial, Verdana, Tahoma; font-size:20px; font-weight: bold;" align="left"' 10 10 TABLE_STYLE='width="680px" rules=none bgcolor="#ffffdd" border=1 bordercolor="#000000" cellpadding="3"' 11 11 TABLE_FONT='style="color:#404040; font-family:Arial, Verdana, Tahoma; font-size:14px; font-weight: normal;" align="left"' … … 53 53 cat << END >> report.html 54 54 <div align="center"> 55 <table $ H1_STYLE><tr><td $H1_FONT>ISSM Nightly run report</td></tr></table>55 <table $TITLE_STYLE><tr><td $TITLE_FONT>ISSM Nightly run report</td></tr></table> 56 56 57 57 <table $TABLE_STYLE> … … 78 78 cat << END >> report.html 79 79 <table $(echo $BODY_STYLE) style="border-collapse:collapse;"> 80 <tr><td $BODY_FONTC> status: <span style=\"color:#ff0000\">Installation failed<\/span></td></tr>80 <tr><td $BODY_FONTC>Status: <span style=\"color:#ff0000\">Installation failed<\/span></td></tr> 81 81 </table> 82 82 <table $FOOTER_STYLE><tr><td $FOOTER_FONT><a href="http://issm.jpl.nasa.gov" title="ISSM website" target="_blank">ISSM</a> nightly run report</td></tr></table> … … 100 100 #write report {{{ 101 101 cat << END >> report.html 102 <table $ H2_STYLE><tr><td $H2_FONT>Matlab tests</td></tr></table>102 <table $SECTION_STYLE><tr><td $SECTION_FONT>Matlab tests</td></tr></table> 103 103 <table $(echo $BODY_STYLE) style="border-collapse:collapse;"> 104 104 $(if [ $CRASH_MATLAB -eq 0 ]; then 105 echo "<tr><td $BODY_FONTL> status: <span style=\"color:#008000\">all test desks have been run</span></td></tr>"105 echo "<tr><td $BODY_FONTL>Status: <span style=\"color:#008000\">all test desks have been run</span></td></tr>" 106 106 else 107 echo "<tr><td $BODY_FONTL> status: <span style=\"color:#ff0000\">Matlab crashed</span></td></tr>"107 echo "<tr><td $BODY_FONTL>Status: <span style=\"color:#ff0000\">Matlab crashed</span></td></tr>" 108 108 fi) 109 109 <tr><td $BODY_FONTL>Total execution time: $EL_MATLAB</td></tr> … … 129 129 #write report {{{ 130 130 cat << END >> report.html 131 <table $ H2_STYLE><tr><td $H2_FONT>Python tests</td></tr></table>131 <table $SECTION_STYLE><tr><td $SECTION_FONT>Python tests</td></tr></table> 132 132 <table $(echo $BODY_STYLE) style="border-collapse:collapse;"> 133 133 $(if [ $CRASH_PYTHON -eq 0 ]; then 134 echo "<tr><td $BODY_FONTL> status: <span style=\"color:#008000\">all test desks have been run</span></td></tr>"134 echo "<tr><td $BODY_FONTL>Status: <span style=\"color:#008000\">all test desks have been run</span></td></tr>" 135 135 else 136 echo "<tr><td $BODY_FONTL> status: <span style=\"color:#ff0000\">Python crashed</span></td></tr>"136 echo "<tr><td $BODY_FONTL>Status: <span style=\"color:#ff0000\">Python crashed</span></td></tr>" 137 137 fi) 138 138 <tr><td $BODY_FONTL>Total execution time: $EL_PYTHON</td></tr> … … 152 152 then 153 153 cat << END >> report.html 154 <table $ H2_STYLE><tr><td $(echo $H2_FONT)>List of Matlab tests</td></tr></table>154 <table $SECTION_STYLE><tr><td $(echo $SECTION_FONT)>List of Matlab tests</td></tr></table> 155 155 <table $BODY_STYLE style="border-collapse:collapse;"> 156 156 <tr> … … 205 205 then 206 206 cat << END >> report.html 207 <table $(echo $ H2_STYLE)><tr><td $(echo $H2_FONT)>List of Python tests</td></tr></table>207 <table $(echo $SECTION_STYLE)><tr><td $(echo $SECTION_FONT)>List of Python tests</td></tr></table> 208 208 <table $(echo $BODY_STYLE) style="border-collapse:collapse;"> 209 209 <tr> … … 217 217 do 218 218 echo "<tr>" 219 220 #get status221 219 STATUS=`echo $line | awk '{print $1}'` 222 220 … … 263 261 #Matlab {{{ 264 262 cat << END >> report.html 265 <table $ H2_STYLE><tr><td $H2_FONT>Matlab errors</td></tr></table>263 <table $SECTION_STYLE><tr><td $SECTION_FONT>Matlab errors</td></tr></table> 266 264 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 267 265 <pre style=" … … 279 277 #PETSc{{{ 280 278 cat << END >> report.html 281 <table $ H2_STYLE><tr><td $H2_FONT>PETSc errors</td></tr></table>279 <table $SECTION_STYLE><tr><td $SECTION_FONT>PETSc errors</td></tr></table> 282 280 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 283 281 <pre style="
Note:
See TracChangeset
for help on using the changeset viewer.