com web/qa: Revert "Fix recognition of test filenames": reports/parserfunc.php

From: Date: Tue, 24 Jul 2018 16:48:12 +0000
Subject: com web/qa: Revert "Fix recognition of test filenames": reports/parserfunc.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-68138@lists.php.net to get a copy of this message
Commit: 3e036143980cbd629bb626db49c3d2e607e4423f Author: Christoph M. Becker <cmbecker69@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];

« previous php.qa (#68138) next »