nixosTests.xpadneo: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 23:18:18 +01:00
parent 6d1946030c
commit 6a13f858bd
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 17 additions and 19 deletions

View File

@ -1291,7 +1291,7 @@ in {
xfce-wayland = handleTest ./xfce-wayland.nix {}; xfce-wayland = handleTest ./xfce-wayland.nix {};
xmonad = handleTest ./xmonad.nix {}; xmonad = handleTest ./xmonad.nix {};
xmonad-xdg-autostart = handleTest ./xmonad-xdg-autostart.nix {}; xmonad-xdg-autostart = handleTest ./xmonad-xdg-autostart.nix {};
xpadneo = handleTest ./xpadneo.nix {}; xpadneo = runTest ./xpadneo.nix;
xrdp = runTest ./xrdp.nix; xrdp = runTest ./xrdp.nix;
xrdp-with-audio-pulseaudio = runTest ./xrdp-with-audio-pulseaudio.nix; xrdp-with-audio-pulseaudio = runTest ./xrdp-with-audio-pulseaudio.nix;
xscreensaver = handleTest ./xscreensaver.nix {}; xscreensaver = handleTest ./xscreensaver.nix {};

View File

@ -1,6 +1,5 @@
import ./make-test-python.nix ( { lib, pkgs, ... }:
{ lib, pkgs, ... }: {
{
name = "xpadneo"; name = "xpadneo";
meta.maintainers = with lib.maintainers; [ kira-bruneau ]; meta.maintainers = with lib.maintainers; [ kira-bruneau ];
@ -17,5 +16,4 @@ import ./make-test-python.nix (
machine.start(); machine.start();
machine.succeed("modinfo hid_xpadneo | grep 'version:\s\+${pkgs.linuxPackages.xpadneo.version}'") machine.succeed("modinfo hid_xpadneo | grep 'version:\s\+${pkgs.linuxPackages.xpadneo.version}'")
''; '';
} }
)