-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
nixos/tests: add missing tests #156314
nixos/tests: add missing tests #156314
Conversation
Some tests from the `nixos/tests` folder were missing in the `all-tests.nix` file. This meant they couldn't be run from the `nixosTests` attribute set and therefore not be linked to their packages.
Maybe it's a good occasion to add them to passthru.tests on the corresponding packages? |
Yeah, this would be a good time to improve I will push the update soon. |
Links from all packages to the tests are added. Interestingly some packages already referred to tests which were not present in
nixpkgs/pkgs/games/teeworlds/default.nix Line 40 in 8f3c7d0
|
maybe ofborg does not label "passthru.tests does not evaluate" as a failure (because most packages don't have one at all) so people don't notice it |
Motivation for this change
Some tests from the
nixos/tests
folder were missing in theall-tests.nix
file. This meant they couldn't be run from thenixosTests
attribute set and therefore not be linked to their packages.Things done
Build the following tests on
x86_64-linux
:Succeeded:
nixosTests.brscan5
nixosTests.emacs-daemon
nixosTests.haka
nixosTests.iscsi-multipath-root
nixosTests.isso
nixosTests.jenkins-cli
nixosTests.k3s-single-node
nixosTests.k3s-single-node-docker
nixosTests.molly-brown
nixosTests.pict-rs
nixosTests.resolv
nixosTests.rstudio-server
nixosTests.rsyncd
nixosTests.soapui
Failed:
nixosTests.doh-proxy-rust
: fix in nixos/test/doh-proxy-rust: fix failing check #156224nixosTests.fenics
: dependency does not compile ( Hydra build )nixosTests.geth
: fix in nixos/tests/geth: fix api check #156220nixosTests.mediatomb
: fix in nixos/mediatomb: wait for network-online.target + fix test #156232nixosTests.riak
: marked as insecurenixosTests.teeworlds
: fix in nixos/tests/teeworlds: fix blocking execute calls #156205nixosTests.wine
: fix in nixos/tests/wine: fix gecko check and diskSize type #156200sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes