diff options
author | Naïm Favier <n@monade.li> | 2023-01-26 14:47:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 14:47:53 +0100 |
commit | beb3d48b1e3ca2e8eb9dcc6a10a387983203de38 (patch) | |
tree | 1762d6c874567af662578d8fabc9020711c7a3c3 /doc | |
parent | 97e1255e311302c87128ae804cf07f20c4bc2a4d (diff) | |
parent | edb26159dba85e97731fa1941859cd997aacb2a5 (diff) |
Merge pull request #212642 from ncfavier/doc-check-phase
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv/stdenv.chapter.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index e66cc3476776b..1972ca62f4f29 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -626,7 +626,7 @@ Before and after running `make`, the hooks `preBuild` and `postBuild` are called ### The check phase {#ssec-check-phase} -The check phase checks whether the package was built correctly by running its test suite. The default `checkPhase` calls `make check`, but only if the `doCheck` variable is enabled. +The check phase checks whether the package was built correctly by running its test suite. The default `checkPhase` calls `make $checkTarget`, but only if the `doCheck` variable is enabled (see below). #### Variables controlling the check phase {#variables-controlling-the-check-phase} @@ -646,7 +646,7 @@ See the [build phase](#var-stdenv-makeFlags) for details. ##### `checkTarget` {#var-stdenv-checkTarget} -The make target that runs the tests. Defaults to `check`. +The make target that runs the tests. Defaults to `check` if it exists, otherwise `test`; if neither is found, do nothing. ##### `checkFlags` / `checkFlagsArray` {#var-stdenv-checkFlags} |