mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixosTest.lact: init
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
81fc14bc5e
commit
202780360b
3 changed files with 23 additions and 0 deletions
|
@ -714,6 +714,7 @@ in
|
||||||
kthxbye = runTest ./kthxbye.nix;
|
kthxbye = runTest ./kthxbye.nix;
|
||||||
kubernetes = handleTestOn [ "x86_64-linux" ] ./kubernetes { };
|
kubernetes = handleTestOn [ "x86_64-linux" ] ./kubernetes { };
|
||||||
kubo = import ./kubo { inherit recurseIntoAttrs runTest; };
|
kubo = import ./kubo { inherit recurseIntoAttrs runTest; };
|
||||||
|
lact = runTest ./lact.nix;
|
||||||
ladybird = runTest ./ladybird.nix;
|
ladybird = runTest ./ladybird.nix;
|
||||||
languagetool = runTest ./languagetool.nix;
|
languagetool = runTest ./languagetool.nix;
|
||||||
lanraragi = runTest ./lanraragi.nix;
|
lanraragi = runTest ./lanraragi.nix;
|
||||||
|
|
18
nixos/tests/lact.nix
Normal file
18
nixos/tests/lact.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
name = "lact";
|
||||||
|
meta = {
|
||||||
|
inherit (pkgs.lact.meta) maintainers;
|
||||||
|
};
|
||||||
|
|
||||||
|
nodes.machine =
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.lact.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
machine.wait_for_unit("lactd.service")
|
||||||
|
machine.wait_for_file("/run/lactd.sock")
|
||||||
|
'';
|
||||||
|
}
|
|
@ -14,6 +14,7 @@
|
||||||
coreutils,
|
coreutils,
|
||||||
systemdMinimal,
|
systemdMinimal,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
|
nixosTests,
|
||||||
hwdata,
|
hwdata,
|
||||||
fuse3,
|
fuse3,
|
||||||
autoAddDriverRunpath,
|
autoAddDriverRunpath,
|
||||||
|
@ -117,6 +118,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) lact;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Linux GPU Configuration Tool for AMD and NVIDIA";
|
description = "Linux GPU Configuration Tool for AMD and NVIDIA";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue