mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
nix/tests: run test help.sh only if nix is built with documentation
tests/functional/help.sh calls nix-* commands with option --help
if nix is built without documentation the option --help throws an error
because the man page it wants to display is missing
(cherry picked from commit 85b0cd320a
)
This commit is contained in:
parent
2c89c38fa1
commit
e79d66ceef
3 changed files with 10 additions and 2 deletions
|
@ -175,6 +175,10 @@ AS_IF(
|
|||
[test "$ENABLE_FUNCTIONAL_TESTS" == "yes" || test "$ENABLE_DOC_GEN" == "yes"],
|
||||
[NEED_PROG(jq, jq)])
|
||||
|
||||
AS_IF(
|
||||
[test "$ENABLE_DOC_GEN" == "yes"],
|
||||
[NEED_PROG(man, man)])
|
||||
|
||||
AS_IF([test "$ENABLE_BUILD" == "yes"],[
|
||||
|
||||
# Look for boost, a required dependency.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue