harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r618922 - /harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl
Date Wed, 06 Feb 2008 08:34:16 GMT
Author: smishura
Date: Wed Feb  6 00:34:11 2008
New Revision: 618922

URL: http://svn.apache.org/viewvc?rev=618922&view=rev
Log:
Fix reg.exp. for EUTs report - it didn't match if success rate is 100%

Modified:
    harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl

Modified: harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl?rev=618922&r1=618921&r2=618922&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl (original)
+++ harmony/enhanced/buildtest/branches/2.0/tools/snapshot/snapshots-table/snapshots.pl Wed
Feb  6 00:34:11 2008
@@ -186,19 +186,19 @@
                                 \<td\>\s*([0-9]+)\s*\<\/td\>\s*         #Sudden
Failures -> $1
                                 \<td\>\s*([0-9]+)\s*\<\/td\>\s*         #Sudden
Errors   -> $2
                                 \<td\>\s*([0-9]+)\s*\<\/td\>\s*         #Sudden
Crashes  -> $3
-                                \<td\>\s*[0-9]+\.[0-9]+\%\s*\<\/td\>    #Success
rate
+                                \<td\>\s*[0-9]+(\.[0-9]+)?\%\s*\<\/td\> #Success
rate
                                 .*?                                     #Skip the data between
2 tables
-                                \<td\>\s*([0-9]+)\s*\<\/td\>\s*         #Tests
          -> $4
+                                \<td\>\s*([0-9]+)\s*\<\/td\>\s*         #Tests
          -> $5
                                 \<td\>\s*[0-9]+\s*\<\/td\>\s*           #Sudden
Failures 
                                 \<td\>\s*[0-9]+\s*\<\/td\>\s*           #Sudden
Errors
                                 \<td\>\s*[0-9]+\s*\<\/td\>\s*           #Sudden
Crashes
-                                \<td\>\s*([0-9]+\.[0-9]+)\%\s*\<\/td\>  #Success
rate    -> $5
+                                \<td\>\s*([0-9]+(\.[0-9]+)?)\%\s*\<\/td\>  #Success
rate    -> $6
                                /xigsm) {
 
                     #gathered new data 
                     $data_updated = 1;
 
-                    $result_data = "$5% ($4)";
+                    $result_data = "$6% ($5)";
                     $failures = $1 + $2 + $3;
                     $result_text =~ s/\{RESULT\}/$result_data/g;
                     if ($failures > 0) {



Mime
View raw message