Nikita Popov
7e130df249
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Don't use PASSWORD() function in test
Specify explicit row order in PDO MySQL test
Skip bug77956.phpt if local_infile disabled on server
Don't check TIMESTAMP NOT NULL in fetch_field_flags test
Don't test the RENAME DATABASE query
Make GeomFromText tests compatible with MySQL 8
2019-12-27 17:26:42 +01:00
Nikita Popov
248c783e7d
Specify explicit row order in PDO MySQL test
2019-12-27 17:25:58 +01:00
Christoph M. Becker
dabc28d182
Fix #78880 : Spelling error report
...
We fix the most often occuring typos according to a recent codespell
report[1] in tests, code comments and documentation.
[1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html >.
2019-12-21 11:58:00 +01:00
Nikita Popov
8f62151ec8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix intermittent error in pdo_mysql___construct_options.phpt
2019-12-06 07:40:01 +01:00
Nikita Popov
8753975418
Fix intermittent error in pdo_mysql___construct_options.phpt
...
For the love of god, don't write tests based on mt_rand!
2019-12-06 07:39:54 +01:00
Máté Kocsis
100552d4b5
Add stubs for PDO
2019-11-18 12:38:10 +01:00
Fabien Villepinte
a555cc0b3d
Clean DONE tags from tests
...
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
2019-11-07 21:31:47 +01:00
Christoph M. Becker
31f1254182
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Make test more robust
2019-11-04 12:23:00 +01:00
Christoph M. Becker
00c9c480eb
Make test more robust
...
Time flies, so obviously the reported uptime may differ a bit (as
already occasionally noticed on CI); we cater to that by allowing a
delay of up to one second.
2019-11-04 12:22:04 +01:00
Christoph M. Becker
2ff42076ff
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78623 : Regression caused by "SP call yields additional empty result set"
2019-10-07 09:19:08 +02:00
Christoph M. Becker
b142e8a4b3
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78623 : Regression caused by "SP call yields additional empty result set"
2019-10-07 09:18:46 +02:00
Christoph M. Becker
3322c78a88
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78623 : Regression caused by "SP call yields additional empty result set"
2019-10-07 09:17:29 +02:00
Christoph M. Becker
114c03b9a6
Fix #78623 : Regression caused by "SP call yields additional empty result set"
...
This reverts commit 41a4379cb4
.
2019-10-07 09:15:51 +02:00
Nikita Popov
2f92957fd3
Convert some notices to warnings
...
Part of https://wiki.php.net/rfc/engine_warnings .
2019-10-02 10:34:08 +02:00
Nikita Popov
235983dfde
Merge branch 'PHP-7.4'
2019-09-30 17:52:39 +02:00
Fabien Villepinte
0aa3acc6c4
Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00
Christoph M. Becker
714561d0ee
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #41997 : SP call yields additional empty result set
2019-09-03 13:33:52 +02:00
Christoph M. Becker
fd7309d194
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #41997 : SP call yields additional empty result set
2019-09-03 13:33:15 +02:00
Christoph M. Becker
b90cd91eba
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #41997 : SP call yields additional empty result set
2019-09-03 13:31:24 +02:00
Christoph M. Becker
41a4379cb4
Fix #41997 : SP call yields additional empty result set
...
When stored procedures are called, the "final result set is a status
result that includes no result set". Calling `::nextRowset()` on the
actual last result set should return FALSE, since there is actually no
further result set to be processed.
2019-09-03 13:29:30 +02:00
Christoph M. Becker
64c577abc5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
2019-08-20 13:35:53 +02:00
Christoph M. Becker
a18f53ec2c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
2019-08-20 13:35:17 +02:00
Christoph M. Becker
3771d66142
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
2019-08-20 13:33:45 +02:00
Qianqian Bu
cdf16c010a
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
2019-08-20 13:31:58 +02:00
Nikita Popov
d37d418927
Merge branch 'PHP-7.4'
2019-07-23 11:28:10 +02:00
George Peter Banyard
6d6d954d0d
Cleanup of remaining E_STRICT in tests
2019-07-23 11:27:23 +02:00
Nikita Popov
9faf10bbe9
Merge branch 'PHP-7.4'
2019-06-07 10:58:06 +02:00
Nikita Popov
d831f10724
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-07 10:57:51 +02:00
Nikita Popov
9569a0b8ca
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-07 10:57:43 +02:00
Nikita Popov
d7c7522be9
Enable STRICT_TRANS_TABLES in new test
...
The part testing error cases relies on this.
2019-06-07 10:57:09 +02:00
Nikita Popov
98de4207d8
Merge branch 'PHP-7.4'
2019-06-07 09:49:22 +02:00
Nikita Popov
1c4e93e8bd
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-07 09:49:09 +02:00
Nikita Popov
a5f98139c9
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-07 09:49:01 +02:00
Cameron Porter
7d1aa7534d
Fixed bug #38546
...
Properly support binding boolean parameters with emulated prepared
statements disabled. Also add the necessary mysqlnd support for
MYSQL_TYPE_TINY.
2019-06-07 09:48:43 +02:00
Peter Kokot
87cfcb0b7c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] Migrate tests READMEs to Markdown
2019-05-12 22:03:35 +02:00
Peter Kokot
83e565e244
[ci skip] Migrate tests READMEs to Markdown
2019-05-12 22:03:10 +02:00
Nikita Popov
fd2db11929
Always generate fatal error for LSP failures
...
RFC: https://wiki.php.net/rfc/lsp_errors
2019-05-07 13:45:28 +02:00
Christoph M. Becker
9bb6e0bffc
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix tests
2019-04-29 09:07:45 +02:00
Christoph M. Becker
9481cb43b3
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix tests
2019-04-29 09:07:13 +02:00
Christoph M. Becker
7faaf5a89a
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix tests
2019-04-29 09:05:04 +02:00
Christoph M. Becker
9bf11045db
Fix tests
...
These tests are obviously meant to test successful and failing uri:
DSNs, but did not pass proper file:// URIs, so actually ended up
testing for invalid data source URIs twice. We fix this, and adjust
the expectations accordingly.
We also unfork the -win32 variant, since both test cases are almost
identical, and the expected error message may be either one.
2019-04-29 09:04:33 +02:00
Christoph M. Becker
ba90675f82
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Make MySQLPDOTest::extractVersion() more liberal
2019-04-28 23:51:15 +02:00
Christoph M. Becker
8446554fed
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Make MySQLPDOTest::extractVersion() more liberal
2019-04-28 23:50:43 +02:00
Christoph M. Becker
06b130579e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Make MySQLPDOTest::extractVersion() more liberal
2019-04-28 23:49:19 +02:00
Christoph M. Becker
fc9cdb723b
Make MySQLPDOTest::extractVersion() more liberal
...
MySQL/MariaDB version strings may have suffixes which may contain dots;
for instance, Debian stretch has 5.5.5-10.1.37-MariaDB-0+deb9u1 or
such. Therefore, we make the version extraction more liberal, and only
require that there are at least three parts separated by dot, and
ignore additional parts.
We also fix an erroneous test expectation, which would be triggered on
CI now, right away. This patch has been provided by petk@.
2019-04-28 23:48:27 +02:00
Peter Kokot
6426420f61
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 23:36:47 +01:00
Fabien Villepinte
26dfce7f36
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 22:55:30 +01:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Gabriel Caruso
6c4e2079c0
Use EXPECT when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2019-03-11 00:05:44 -03:00
Nikita Popov
c0e15a3b7f
Implement fine-grained conflict handling
...
Tests can specify conflict keys, either in --CONFLICTS-- or
a per-directory CONFLICTS file. Non-conflicting tests may be run
in parallel.
2019-02-20 11:20:40 +01:00