nixosTests.alloy: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt
2025-03-13 22:57:18 +01:00
parent 1f264807a9
commit 498ecc0604
2 changed files with 29 additions and 31 deletions

View File

@@ -159,7 +159,7 @@ in {
akkoma = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix {};
akkoma-confined = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix { confined = true; };
alice-lg = runTest ./alice-lg.nix;
alloy = handleTest ./alloy.nix {};
alloy = runTest ./alloy.nix;
allTerminfo = handleTest ./all-terminfo.nix {};
alps = handleTest ./alps.nix {};
amazon-cloudwatch-agent = handleTest ./amazon-cloudwatch-agent.nix {};

View File

@@ -1,7 +1,6 @@
import ./make-test-python.nix (
{ lib, pkgs, ... }:
{ lib, ... }:
let
let
nodes = {
machine = {
services.alloy = {
@@ -10,8 +9,8 @@ import ./make-test-python.nix (
environment.etc."alloy/config.alloy".text = "";
};
};
in
{
in
{
name = "alloy";
meta = with lib.maintainers; {
@@ -33,5 +32,4 @@ import ./make-test-python.nix (
)
machine.shutdown()
'';
}
)
}