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>
This commit is contained in:
aszlig 2020-10-17 23:34:38 +02:00
parent 5cfdf16dd6
commit cfa26cf181
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691
4 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,7 @@ in
makeTest (
{
name = "github-flakes";
nodes =
{ # Impersonate github.com and api.github.com.

View File

@ -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 =

View File

@ -36,6 +36,7 @@ let
in
{
name = "remote-builds";
nodes =
{ builder1 = builder;

View File

@ -8,6 +8,7 @@ with import (nixpkgs + "/nixos/lib/testing-python.nix") {
};
makeTest {
name = "setuid";
machine =
{ config, lib, pkgs, ... }: