stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r589441 - /incubator/stdcxx/trunk/bin/genxviews
Date Sun, 28 Oct 2007 23:24:27 GMT
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  <sebor@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 ##################################################################



Mime
View raw message