Changeset 1576
- Timestamp:
- 08/05/09 11:56:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/report.sh
r1574 r1576 13 13 14 14 #create some variables 15 if [ `wc -l nightly.log | awk '{printf("%s",$1);}'` = "0" ] 16 then 17 IS_INSTALL=0 18 else 19 IS_INSTALL=1 20 fi 15 21 if [ `wc -l check.log | awk '{printf("%s",$1);}'` = "0" ] 16 22 then … … 18 24 else 19 25 IS_END=1 20 fi21 if [ `wc -l tests.log | awk '{printf("%s",$1);}'` = "0" ]22 then23 IS_INSTALL=024 else25 IS_INSTALL=126 26 fi 27 27 … … 107 107 runs elapsed time: $ELAPSED_RUN<br> 108 108 <br> 109 status: $(if [ $ IS_INSTALL==0 ];109 status: $(if [ $(echo $IS_INSTALL) = 0 ]; 110 110 then 111 111 #installation failed, end of report … … 113 113 rm check.log errors.log success.log tests.log 114 114 else 115 if [ $ IS_END==0 ];115 if [ $(echo $IS_END) = 0 ]; 116 116 then 117 117 echo "<span style=\"color:#FF0000\">stopped before the end</span>" … … 129 129 130 130 #report content 131 if [ $ IS_END != 0];131 if [ $(echo $IS_INSTALL) = 1 ]; 132 132 then 133 133 cat << END > content.html … … 208 208 209 209 #concatenate files 210 if [ $ IS_END != 0];210 if [ $(echo $IS_INSTALL) = 1 ]; 211 211 then 212 212 cat header.html summary.html content.html footer.html > report.html
Note:
See TracChangeset
for help on using the changeset viewer.