#
7a9120e5 |
| 18-Aug-2024 |
Christoph M. Becker |
Avoid multiple connects in SKIPIF sections (GH-15470) Besides checking for the ability to connect to the MySQL server, some tests require additional checks (e.g. to be able to check for
Avoid multiple connects in SKIPIF sections (GH-15470) Besides checking for the ability to connect to the MySQL server, some tests require additional checks (e.g. to be able to check for the server's version) as skip condition. There is no need, though, to connect twice; instead we introduce `mysqli_connect_or_skip()` in test_helpers.inc, which `die()`s with an appropriate error message, if the connection can't be established, or returns the connection link otherwise. Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
show more ...
|
#
62d393b1 |
| 04-Oct-2022 |
Christoph M. Becker |
Remove support for libmysql-client from mysqli test suite Since mysqli can no longer be built against libmysql-client, there is no longer the need to distinguish. While we're at
Remove support for libmysql-client from mysqli test suite Since mysqli can no longer be built against libmysql-client, there is no longer the need to distinguish. While we're at it, we also drop the superfluous is_object() checks. Closes GH-9652.
show more ...
|
#
47c79a97 |
| 01-Oct-2022 |
Christoph M. Becker |
Use --EXTENSIONS-- section for newly added tests As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and CIs may make use of that (our AppVeyor CI does). Thus it is impo
Use --EXTENSIONS-- section for newly added tests As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and CIs may make use of that (our AppVeyor CI does). Thus it is important to list required extensions there, since otherwise they may not be loaded, causing the test to be skipped, or worse, to be borked.
show more ...
|