Преглед изворни кода

Fix date info so that it shows point-to-point time span as the time on the XSLT report is misleading.

[SVN r40981]
Rene Rivera пре 18 година
родитељ
комит
77a61d850b
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      tools/regression/xsl_reports/build_results.sh

+ 9 - 1
tools/regression/xsl_reports/build_results.sh

@@ -73,8 +73,17 @@ cat - > comment.html <<HTML
             </pre>
         </td>
     </tr>
+    <tr>
+        <td style="vertical-align: top;">current run</td>
+        <td>
+            <pre style="border: 1px solid #666; overflow: auto;">
+`date -u`
+            </pre>
+        </td>
+    </tr>
 </table>
 HTML
+    date -u > previous.txt
 }
 
 build_results()
@@ -95,7 +104,6 @@ build_results()
         --failures-markup="${boost}/status/explicit-failures-markup.xml" \
         --comment="comment.html" \
         --user=""
-    date -u > previous.txt
     cd "${cwd}"
 }
 

粤ICP备19079148号