mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/release: remove tests.allDrivers
We discussed in #staging:nixos.org (Matrix) that the drivers itself are
helpful for development, but that executing them in Hydra don't provide
a benefit over executing the tests themself.
(cherry picked from commit 04f9176915)
This commit is contained in:
parent
7dc43a59c7
commit
8214674537
1 changed files with 0 additions and 21 deletions
|
|
@ -55,27 +55,6 @@ let
|
|||
${system} = hydraJob test;
|
||||
}
|
||||
);
|
||||
}
|
||||
// {
|
||||
# for typechecking of the scripts and evaluation of
|
||||
# the nodes, without running VMs.
|
||||
allDrivers = import ./tests/all-tests.nix {
|
||||
inherit system;
|
||||
pkgs = import ./.. { inherit system; };
|
||||
callTest =
|
||||
config:
|
||||
let
|
||||
inherit (config) driver;
|
||||
in
|
||||
lib.optionalAttrs (builtins.elem system (getPlatforms driver)) (
|
||||
if attrNamesOnly then
|
||||
hydraJob driver
|
||||
else
|
||||
{
|
||||
${system} = hydraJob driver;
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
allTests = foldAttrs recursiveUpdate { } (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue