mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Fix help test in dev shell
Not sure what the intent was expecting help.sh to fail in the main suite, but it caused `meson test` to fail inside a `nix develop` shell: $ meson test help --print-errorlogs ninja: Entering directory `/home/eelco/Dev/nix-master/build' 1/1 nix-functional-tests:main / help UNEXPECTEDPASS 4.02s
This commit is contained in:
parent
2975c2c1d1
commit
e0c6ed1c83
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
source common.sh
|
source common.sh
|
||||||
|
|
||||||
|
[[ $(type -p man) ]] || skipTest "'man' not installed"
|
||||||
|
|
||||||
# test help output
|
# test help output
|
||||||
|
|
||||||
nix-build --help
|
nix-build --help
|
||||||
|
|
|
@ -242,8 +242,6 @@ foreach suite : suites
|
||||||
# Used for target dependency/ordering tracking, not adding compiler flags or anything.
|
# Used for target dependency/ordering tracking, not adding compiler flags or anything.
|
||||||
depends : suite['deps'],
|
depends : suite['deps'],
|
||||||
workdir : workdir,
|
workdir : workdir,
|
||||||
# Won't pass until man pages are generated
|
|
||||||
should_fail : suite['name'] == 'main' and script == 'help.sh'
|
|
||||||
)
|
)
|
||||||
endforeach
|
endforeach
|
||||||
endforeach
|
endforeach
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue