From 4fb4d7a3b4c571ea633d7fca01aba0d558176593 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Wed, 20 Mar 2024 19:45:36 -0700 Subject: nixos/tests/armagetronad: fix test runner --- nixos/tests/armagetronad.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'nixos') diff --git a/nixos/tests/armagetronad.nix b/nixos/tests/armagetronad.nix index ff2841dedd21..d59827354b77 100644 --- a/nixos/tests/armagetronad.nix +++ b/nixos/tests/armagetronad.nix @@ -1,4 +1,9 @@ -import ./make-test-python.nix ({ pkgs, ...} : +{ system ? builtins.currentSystem, + config ? {}, + pkgs ? import ../.. { inherit system config; } +}: + +with import ../lib/testing-python.nix { inherit system pkgs; }; let user = "alice"; @@ -16,7 +21,8 @@ let test-support.displayManager.auto.user = user; }; -in { +in +makeTest { name = "armagetronad"; meta = with pkgs.lib.maintainers; { maintainers = [ numinit ]; @@ -269,4 +275,4 @@ in { srv.node.wait_until_fails(f"ss --numeric --udp --listening | grep -q {srv.port}") ''; -}) +} -- cgit 1.4.1