You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/11/08 22:46:34 UTC

svn commit: r593334 - /incubator/stdcxx/trunk/bin/xbuildgen

Author: sebor
Date: Thu Nov  8 13:46:33 2007
New Revision: 593334

URL: http://svn.apache.org/viewvc?rev=593334&view=rev
Log:
2007-11-08  Martin Sebor  <se...@roguewave.com>

	* xbuildgen: Counted and displayed the number of error and warning
	messages found in the log. Truncated headers of the Logs and Columns
	table to reduce its expanding width.

Modified:
    incubator/stdcxx/trunk/bin/xbuildgen

Modified: incubator/stdcxx/trunk/bin/xbuildgen
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/xbuildgen?rev=593334&r1=593333&r2=593334&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/xbuildgen (original)
+++ incubator/stdcxx/trunk/bin/xbuildgen Thu Nov  8 13:46:33 2007
@@ -394,13 +394,15 @@
     <table>
       <tr>
         <th><div title="">###</div></th>
-        <th>build type</th>
+        <th>build<br>type</th>
         <th>build date</th>
         <th>revision</th>
         <th>build log</th>
-        <th>library size<br>(bytes)</th>
-        <th>build size<br>(kB)</th>
-        <th>clean<br>(kb)</th>
+        <th>library<br>(bytes)</th>
+        <th>build<br>(kB)</th>
+        <th>clean<br>(kB)</th>
+        <th>errors</th>
+        <th>warnings</th>
       </tr>
       <tbody>
 EOF
@@ -489,6 +491,10 @@
         buildtype="(unknown)"
     fi
 
+    # count the number of errors and warnings in the build
+    errors=`grep -i error $txtlog | wc -l`
+    warnings=`grep -i warning $txtlog | wc -l`
+
     ###
     if [ $components_in_rows -ne 0 ]; then
         # when displaying one component (example, test, or locale) per row
@@ -514,6 +520,8 @@
         output "          <td>$libsize</td>"
         output "          <td>$fullbuildsize</td>"
         output "          <td>$cleanbuildsize</td>"
+        output "          <td>$errors</td>"
+        output "          <td>$warnings</td>"
         output "      </tr>"
     fi