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/10/29 00:24:27 UTC

svn commit: r589441 - /incubator/stdcxx/trunk/bin/genxviews

Author: sebor
Date: Sun Oct 28 16:24:26 2007
New Revision: 589441

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

	* genxviews (process_results): Processed only the most recent log
	for each build type.

Modified:
    incubator/stdcxx/trunk/bin/genxviews

Modified: incubator/stdcxx/trunk/bin/genxviews
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/genxviews?rev=589441&r1=589440&r2=589441&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/genxviews (original)
+++ incubator/stdcxx/trunk/bin/genxviews Sun Oct 28 16:24:26 2007
@@ -70,11 +70,9 @@
     osname="$1"
     arch="$2"
     compiler="$3"
-    logs="$4"
+    alllogs="$4"
     outfile="$5"
 
-    logs=`echo $logs | tr ' ' '\n' | sort`
-
     cat<<EOF
           <tr>
             <td>$osname</td>
@@ -85,8 +83,20 @@
 
 EOF
 
-    # $CROSS -o$OUTDIR/$outfile $logs
-    echo "$CROSS -o$OUTDIR/$outfile $logs"
+    btypes="8 11 12 15"
+    suffixes="a A d D s D"
+
+    unset buildlogs
+
+    for b in $btypes; do
+        for s in $suffixes; do
+            log=`echo $alllogs | tr ' ' '\n' | grep "[-]$b$s-" \
+                               | sort | tail -n 1`
+            buildlogs="$buildlogs $log"
+        done
+    done
+
+    $CROSS -o$OUTDIR/$outfile $buildlogs
 }
 
 # AIX ##################################################################