parent
6d1946030c
commit
6a13f858bd
@ -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 {};
|
||||||
|
|||||||
@ -1,21 +1,19 @@
|
|||||||
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 ];
|
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
machine = {
|
machine = {
|
||||||
config.hardware.xpadneo.enable = true;
|
config.hardware.xpadneo.enable = true;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# This is just a sanity check to make sure the module was
|
# This is just a sanity check to make sure the module was
|
||||||
# loaded. We'd have to find some way to mock an xbox controller if
|
# loaded. We'd have to find some way to mock an xbox controller if
|
||||||
# we wanted more in-depth testing.
|
# we wanted more in-depth testing.
|
||||||
testScript = ''
|
testScript = ''
|
||||||
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}'")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user