zoe             Sat, 18 Jul 2009 17:49:35 +0000

URL: http://svn.php.net/viewvc?view=revision&revision=284333

Changed paths:
        U   php/phpruntests/trunk/QA/QATESTS.tgz
        U   php/phpruntests/trunk/QA/compareNewOld.php

Log:
Updated tests and checker

Modified: php/phpruntests/trunk/QA/QATESTS.tgz
===================================================================
(Binary files differ)

Modified: php/phpruntests/trunk/QA/compareNewOld.php
===================================================================
--- php/phpruntests/trunk/QA/compareNewOld.php  2009-07-18 17:38:12 UTC (rev 
284332)
+++ php/phpruntests/trunk/QA/compareNewOld.php  2009-07-18 17:49:35 UTC (rev 
284333)
@@ -57,7 +57,7 @@
        foreach($output as $line) {
                if 
(preg_match("/$top_level\/((ext|sapi|Zend|tests)\/\S+)\s{1},(.*)\s{1}$searchFor\s{1}/",
 $line, $matches)) {
                                 if($searchFor == 'FAIL') {
-                                 if(!preg_match("/XFAIL/", $matches[2])) {
+                                 if(!preg_match("/XFAIL/", $line)) {
                                                $result[] = $matches[1] . 
".phpt";
                                }
                                 } else {
@@ -65,14 +65,14 @@
                          }
                }

-       }
+       }
 return $result;
 }

 function parseOld($output, $searchFor) {
        $result = array();
        foreach($output as $line) {
-               if 
(preg_match("/^TEST\s+\d+\/\d+\s+\[(.+\.phpt)\]\s+$searchFor/", $line, 
$matches)) {
+               if 
(preg_match("/^TEST\s+\d+\/\d+\s+\[(.+\.phpt)\]\s+$searchFor\s+/", $line, 
$matches)) {
                                $result[] = $matches[1];
                }
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to