Commit:    3e036143980cbd629bb626db49c3d2e607e4423f
Author:    Christoph M. Becker <cmbecke...@gmx.de>         Tue, 24 Jul 2018 
18:48:12 +0200
Parents:   68173202fd328debe9a96b2705d32b6e0572af5f
Branches:  master

Link:       
http://git.php.net/?p=web/qa.git;a=commitdiff;h=3e036143980cbd629bb626db49c3d2e607e4423f

Log:
Revert "Fix recognition of test filenames"

This reverts commit 68173202fd328debe9a96b2705d32b6e0572af5f.

While the fix appears to work for failing tests, it can't work for
expected failing tests.  This issue needs further investigation.

Changed paths:
  M  reports/parserfunc.php


Diff:
diff --git a/reports/parserfunc.php b/reports/parserfunc.php
index 7cd4004..519ef0a 100644
--- a/reports/parserfunc.php
+++ b/reports/parserfunc.php
@@ -241,7 +241,7 @@ function parse_phpmaketest($version, $status=null, $file)
             $currentTest = '';
             
         } elseif ($currentPart == 'failedTest' || $currentPart == 
'expectedFailedTest') {
-            preg_match('@ \[([^\]]{1,})\]\s*$@', $row, $tab);
+            preg_match('@ \[([^\]]{1,})\]@', $row, $tab);
             if (count($tab) == 2)
                 if (!isset($extract[$currentPart])  || !in_array($tab[1], 
$extract[$currentPart])) 
                     $extract[$currentPart][] = $tab[1];


--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to