]> granicus.if.org Git - php/commit
run-tests: echo message and exit if no tests found
authorGerard Roche <gerardroche@users.noreply.github.com>
Wed, 20 May 2020 15:45:14 +0000 (16:45 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 22 May 2020 07:37:46 +0000 (09:37 +0200)
commit2ef88f517d218ef0f9324622f06209c59138a634
tree14e86814beec3f112277a2784b53236ca62841f6
parent7f51f435097df83af3d39bd088cb17f15ae970a0
run-tests: echo message and exit if no tests found

The test runner currently defaults to running the entire test suite if
no selected tests can be found. This can be unexpected.

For example the ext/mysqlnd/ directory has no tests, if you specify that
directory when testing the entire test suite will be run.

    run-tests.php [options] ext/mysqlnd/

Closes GH-5605.
run-tests.php