diff options
author | aszlig <aszlig@nix.build> | 2020-10-17 23:34:38 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2020-10-17 23:34:38 +0200 |
commit | cfa26cf18135ec1a16ce72319b0bc8b297600ef1 (patch) | |
tree | 8b2efc5648aea9a9efa7d82cb82265a27bb10c05 /tests | |
parent | 5cfdf16dd62dcfa2eb32b4e9ae390cb99d683907 (diff) |
tests: Add names to VM tests
Having vm-test-run-unnamed for all the test derivation doesn't look very
nice, so in order to better distinguish them from their store path,
let's actually give them proper names.
Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/github-flakes.nix | 1 | ||||
-rw-r--r-- | tests/nix-copy-closure.nix | 1 | ||||
-rw-r--r-- | tests/remote-builds.nix | 1 | ||||
-rw-r--r-- | tests/setuid.nix | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/github-flakes.nix b/tests/github-flakes.nix index 2de3e2bc0..7ac397d81 100644 --- a/tests/github-flakes.nix +++ b/tests/github-flakes.nix @@ -64,6 +64,7 @@ in makeTest ( { + name = "github-flakes"; nodes = { # Impersonate github.com and api.github.com. diff --git a/tests/nix-copy-closure.nix b/tests/nix-copy-closure.nix index 68f9c70b3..e5f6a0f12 100644 --- a/tests/nix-copy-closure.nix +++ b/tests/nix-copy-closure.nix @@ -8,6 +8,7 @@ with import (nixpkgs + "/nixos/lib/testing-python.nix") { }; makeTest (let pkgA = pkgs.cowsay; pkgB = pkgs.wget; pkgC = pkgs.hello; in { + name = "nix-copy-closure"; nodes = { client = diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix index 305c82394..b9e7352c0 100644 --- a/tests/remote-builds.nix +++ b/tests/remote-builds.nix @@ -36,6 +36,7 @@ let in { + name = "remote-builds"; nodes = { builder1 = builder; diff --git a/tests/setuid.nix b/tests/setuid.nix index 8d31a18be..35eb304ed 100644 --- a/tests/setuid.nix +++ b/tests/setuid.nix @@ -8,6 +8,7 @@ with import (nixpkgs + "/nixos/lib/testing-python.nix") { }; makeTest { + name = "setuid"; machine = { config, lib, pkgs, ... }: |