-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix help test in dev shell #11900
base: master
Are you sure you want to change the base?
Fix help test in dev shell #11900
Conversation
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
58dd18b
to
9c6f528
Compare
@@ -167,7 +167,7 @@ suites = [ | |||
'impure-env.sh', | |||
'debugger.sh', | |||
'extra-sandbox-profile.sh', | |||
'help.sh', | |||
#'help.sh', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to exclude it unconditionally.
#'help.sh', | |
'help.sh', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately one of the VM tests fails without this, see https://github.com/NixOS/nix/actions/runs/11895552419/job/33145394782.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed in meeting
Possible solutions
- add
nix-manual.man
manpages to NixOS testcommon.nix
<= preferred - add
nix
(everything.nix
) preferably not because that includes the functional tests - add a meson option to disable
help.sh
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2024-12-16-nix-team-meeting-minutes-203/57483/1 |
Motivation
Not sure what the intent was expecting help.sh to fail in the main suite, but it caused
meson test
to fail inside anix develop
shell:Probably the condition should be something like
but we can't access the
doc-gen
option intests/functional/meson.build
....Context
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.