stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r593334 - /incubator/stdcxx/trunk/bin/xbuildgen
Date Thu, 08 Nov 2007 21:46:34 GMT
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  <sebor@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
 



Mime
View raw message