From 1f264807a9e36b2fab92d86186bcfa771e02616e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 13 Mar 2025 22:55:56 +0100 Subject: [PATCH] nixosTests.alice-lg: migrate to runTest Part Of #386873 --- nixos/tests/alice-lg.nix | 14 +++----------- nixos/tests/all-tests.nix | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/nixos/tests/alice-lg.nix b/nixos/tests/alice-lg.nix index 7397ed3779dc..f2f21e3e61a2 100644 --- a/nixos/tests/alice-lg.nix +++ b/nixos/tests/alice-lg.nix @@ -1,18 +1,10 @@ # This test does a basic functionality check for alice-lg - { - system ? builtins.currentSystem, - pkgs ? import ../.. { - inherit system; - config = { }; - }, + pkgs, + ... }: -let - inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest; - inherit (pkgs.lib) optionalString; -in -makeTest { +{ name = "alice-lg"; nodes = { host1 = { diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 97feba7470a8..1443836e36f1 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -158,7 +158,7 @@ in { airsonic = runTest ./airsonic.nix; akkoma = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix {}; akkoma-confined = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix { confined = true; }; - alice-lg = handleTest ./alice-lg.nix {}; + alice-lg = runTest ./alice-lg.nix; alloy = handleTest ./alloy.nix {}; allTerminfo = handleTest ./all-terminfo.nix {}; alps = handleTest ./alps.nix {};