nixosTests.xterm: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 23:03:42 +01:00
parent 7c1bc83f56
commit 20ad3329fe
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 21 additions and 25 deletions

View file

@ -1296,7 +1296,7 @@ in {
xrdp-with-audio-pulseaudio = handleTest ./xrdp-with-audio-pulseaudio.nix {}; xrdp-with-audio-pulseaudio = handleTest ./xrdp-with-audio-pulseaudio.nix {};
xscreensaver = handleTest ./xscreensaver.nix {}; xscreensaver = handleTest ./xscreensaver.nix {};
xss-lock = handleTest ./xss-lock.nix {}; xss-lock = handleTest ./xss-lock.nix {};
xterm = handleTest ./xterm.nix {}; xterm = runTest ./xterm.nix;
xxh = runTest ./xxh.nix; xxh = runTest ./xxh.nix;
yabar = runTest ./yabar.nix; yabar = runTest ./yabar.nix;
ydotool = handleTest ./ydotool.nix {}; ydotool = handleTest ./ydotool.nix {};

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, ... }: { pkgs, ... }:
{ {
name = "xterm"; name = "xterm";
@ -6,9 +5,7 @@ import ./make-test-python.nix (
maintainers = [ nequissimus ]; maintainers = [ nequissimus ];
}; };
nodes.machine = nodes.machine = {
{ pkgs, ... }:
{
imports = [ ./common/x11.nix ]; imports = [ ./common/x11.nix ];
services.xserver.desktopManager.xterm.enable = false; services.xserver.desktopManager.xterm.enable = false;
}; };
@ -23,4 +20,3 @@ import ./make-test-python.nix (
machine.screenshot("window") machine.screenshot("window")
''; '';
} }
)