Commit: 271cdf420c877e55339ef921705dedcc2b6f1bfc Author: Christoph M. Becker <cmbecke...@gmx.de> Wed, 25 Jul 2018 23:43:26 +0200 Parents: 5d9e7526a065b7d661bf5fee6c9aaf222f29ae83 Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=271cdf420c877e55339ef921705dedcc2b6f1bfc Log: Match expected failed and failed test filenames Presently, XFAIL test filenames don't have a leading slash, while the filenames of failing tests do. We add a leading slash to XFAIL filenames for purely cosmetical reasons. Changed paths: M reports/parserfunc.php Diff: diff --git a/reports/parserfunc.php b/reports/parserfunc.php index 6b58770..79eff75 100644 --- a/reports/parserfunc.php +++ b/reports/parserfunc.php @@ -159,6 +159,7 @@ SQL; } foreach ($array['expectedFailedTest'] as $name) { + if (substr($name, 0, 1) != '/') $name = '/'.$name; $query = <<<'SQL' INSERT INTO `expectedfail` (`id`, `id_report`, `test_name`) VALUES (null, :id_report, :test_name) -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php