Skip to content

Commit 43f7ec3

Browse files
authored
[skip ci] Clarify that TESTS and TEST_PHP_ARGS are mostly equivalent
1 parent 2d443a6 commit 43f7ec3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ PHP ships with an extensive test suite, the command `make test` is used after
9696
successful compilation of the sources to run this test suite.
9797

9898
It is possible to run tests using multiple cores by setting `-jN` in
99-
`TEST_PHP_ARGS`:
99+
`TEST_PHP_ARGS` or `TESTS`:
100100

101101
```shell
102102
make TEST_PHP_ARGS=-j4 test
@@ -105,18 +105,12 @@ make TEST_PHP_ARGS=-j4 test
105105
Shall run `make test` with a maximum of 4 concurrent jobs: Generally the maximum
106106
number of jobs should not exceed the number of cores available.
107107

108-
Use `TESTS` variable to test only specific directories:
108+
Use `TEST_PHP_ARGS` or `TESTS` variable to test only specific directories:
109109

110110
```shell
111111
make TESTS=tests/lang/ test
112112
```
113113

114-
Or combine the variables:
115-
116-
```shell
117-
make TEST_PHP_ARGS=-j4 TESTS=tests/lang/ test
118-
```
119-
120114
The [qa.php.net](https://qa.php.net) site provides more detailed info about
121115
testing and quality assurance.
122116

0 commit comments

Comments
 (0)