tests: Move NixOS tests to tests/nixos

This will allow contributors to find them more easily.
This commit is contained in:
Robert Hensing 2023-01-20 14:43:26 +01:00
parent 04de0dd0b4
commit 74026bb101
10 changed files with 7 additions and 7 deletions

View File

@ -475,37 +475,37 @@
};
# System tests.
tests.remoteBuilds = import ./tests/remote-builds.nix {
tests.remoteBuilds = import ./tests/nixos/remote-builds.nix {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
};
tests.nix-copy-closure = import ./tests/nix-copy-closure.nix {
tests.nix-copy-closure = import ./tests/nixos/nix-copy-closure.nix {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
};
tests.nssPreload = (import ./tests/nss-preload.nix rec {
tests.nssPreload = (import ./tests/nixos/nss-preload.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
tests.githubFlakes = (import ./tests/github-flakes.nix rec {
tests.githubFlakes = (import ./tests/nixos/github-flakes.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
tests.sourcehutFlakes = (import ./tests/sourcehut-flakes.nix rec {
tests.sourcehutFlakes = (import ./tests/nixos/sourcehut-flakes.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
tests.containers = (import ./tests/containers.nix rec {
tests.containers = (import ./tests/nixos/containers/containers.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
@ -514,7 +514,7 @@
tests.setuid = nixpkgs.lib.genAttrs
["i686-linux" "x86_64-linux"]
(system:
import ./tests/setuid.nix rec {
import ./tests/nixos/setuid.nix rec {
inherit nixpkgs system;
overlay = self.overlays.default;
});