1
0
mirror of https://github.com/php/web-qa.git synced 2026-03-25 07:52:12 +01:00

29 Commits

Author SHA1 Message Date
Peter Kokot
f24bc9fccc Update http to https 2018-10-26 01:03:37 +02:00
Peter Kokot
96726571bc Refactor long array() syntax to short []
Since site is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.
2018-10-26 00:22:21 +02:00
Peter Kokot
e80874c2c8 Replace dirname(__FILE__) with shorter __DIR__ 2018-10-18 19:46:47 +02:00
Peter Kokot
b5ca40eae5 Trim trailing whitespace 2018-10-17 08:22:48 +02:00
Peter Kokot
7276801013 Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-10-17 08:01:18 +02:00
Christoph M. Becker
271cdf420c 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.
2018-07-25 23:43:26 +02:00
Christoph M. Becker
5d9e7526a0 Fix recognition of test filenames
The filenames of submitted test runs are determined from each line of
the test results, which has the format `testname [filename]` for failed
tests.  If the testname contains a bracketed phrase, the filename is
not correctly recognized.  Expected failing tests have the format
`testname [filename] XFAIL REASON: reason`, though.  We fix this by
asserting that the bracketed filename is either at the end of the
string or that it's been followed by `XFAIL`.

We also cater to output of redirected tests, which add lines with the
format `via [filename]`, which we have to ignore.

This is supposed to fix the resulting mess that currently can be seen
on <http://qa.php.net/reports/run_tests.php?version=7.2.0> for new bug
reports.

However, this kind of filename recognition is still fragile, especially
with regard to potential changes of the run-tests.php output.  It
might be sensible to change it so it can more reliably be parsed.  We'd
still would have to cater to tests results produced with the present
test runner, though.
2018-07-25 23:39:40 +02:00
Christoph M. Becker
77ab09143f Use prepared statements
“Oh, yes. Little Bobby Tables, we call him.”
2018-07-25 16:06:14 +02:00
Christoph M. Becker
3e03614398 Revert "Fix recognition of test filenames"
This reverts commit 68173202fd.

While the fix appears to work for failing tests, it can't work for
expected failing tests.  This issue needs further investigation.
2018-07-24 18:48:12 +02:00
Christoph M. Becker
68173202fd Fix recognition of test filenames
The filenames of submitted test runs are determined from each line of
the test results, which has the format `testname [filename]`.  If the
testname contains a bracketed phrase, the filename is not correctly
recognized.  We fix this by anchoring the pattern to the end of the
line (but allow for trailing whitespace).

This is supposed to fix the resulting mess that currently can be seen
on <http://qa.php.net/reports/run_tests.php?version=7.2.0> for new bug
reports.
2018-07-24 15:47:33 +02:00
Olivier Doucet
7321ecf579 QA REPORT: add interface to ci.qa.php.net 2012-04-08 15:15:49 +02:00
Olivier Doucet
60ef021479 QA REPORTS fix expected fail test recording
QA REPORTS update sqlite scheme once
QA REPORTS updating TODO if there are any motivated people around to help
2012-04-07 15:23:39 +02:00
Olivier Doucet
487e7823fb QA Report : bug fixes and support for xfail view 2012-03-31 19:00:26 +02:00
Olivier Doucet
eac40a57c9 QA Report : handle expected fail / success tests (from ci.qa) in DB files
We still have a problem for already parsed reports : expected failed tests will be considered failed tests ...
2012-03-31 11:13:32 +02:00
Olivier Doucet
f86cd454b3 add cache on reports index
use datetime instead of date for last report date (more accurate)
2012-03-04 14:53:06 +01:00
Olivier Doucet
9a75747f85 Reworked qa report test script
added README file with explanations on how the report interface works
small fix in QA report parser
2012-03-03 15:00:52 +01:00
Olivier DOUCET
8bacbedd41 bugfix: in 5.5.0-dev reports, first characters of test name were deleted due to wrong prefix path detection 2011-06-25 21:48:05 +00:00
Johannes Schlüter
dd13b1202f Improve escaping 2011-06-24 19:56:46 +00:00
Olivier DOUCET
0e34df1f20 massive cleanup. I choose to follow Zend standard 2011-06-20 12:08:35 +00:00
Olivier DOUCET
2804d6c7e0 QA Report: fix empty diff bug 2011-06-20 10:13:38 +00:00
Johannes Schlüter
29e7578d3f - It's 2011 already. 2011-06-19 23:11:05 +00:00
Olivier DOUCET
6ff3de6c76 QA report : remove install script (no longer needed)QA report : remove install script (no longer needed)
Adding a test script and a sample  (more work to be done later)
2011-06-18 13:09:14 +00:00
Philip Olson
240f8db1e3 Updated last commit. The PHP version check is in many places, so it's now consolidated. See also @todo. 2011-06-16 23:59:57 +00:00
Philip Olson
940c2efb2e Bypass reports/ PHP version regex check, if QA PHP version is known. See also @todo. 2011-06-16 22:42:41 +00:00
Olivier DOUCET
31842fc201 qa report: forget to create tables in sqlite files if this is a new version.
added a small bugfix (need a test script for the future ... This will be next commit).
2011-06-13 22:34:00 +00:00
Olivier DOUCET
d95ec0bb3f QA Report : Add link support for 5.4
Add possibility to see phpinfo / buildEnv for a specific report
bugfix with signatures in DB (need new sqlite db files)
tiny tweaks and bugfixes
2011-06-11 13:31:53 +00:00
Olivier DOUCET
f1518ac0bd many changes on qa.php.net/reports
Biggest change is that now, each php version has its own dbfile (my initial setup already processed reports since may 1st)
Content is no longer compressed (too many bugs with this).
Added many tweaks and improvements.
Now with icons (licensed Creative Commons 3)
Added JS Sorttable under License X11
2011-06-11 10:21:15 +00:00
Olivier DOUCET
a81804f26f connect buildtest-process.php to reports aggregator (qa.php.net/reports) 2011-05-18 22:24:40 +00:00
Olivier DOUCET
b28e303a5c First import of QA Reports aggregator (Work in progress) 2011-05-18 22:04:02 +00:00