mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixosTests.xrdp-with-audio-pulseaudio: migrate to runTest
Part Of #386873
This commit is contained in:
parent
650ab40c81
commit
2af95991ab
2 changed files with 85 additions and 87 deletions
|
@ -1293,7 +1293,7 @@ in {
|
||||||
xmonad-xdg-autostart = handleTest ./xmonad-xdg-autostart.nix {};
|
xmonad-xdg-autostart = handleTest ./xmonad-xdg-autostart.nix {};
|
||||||
xpadneo = handleTest ./xpadneo.nix {};
|
xpadneo = handleTest ./xpadneo.nix {};
|
||||||
xrdp = handleTest ./xrdp.nix {};
|
xrdp = handleTest ./xrdp.nix {};
|
||||||
xrdp-with-audio-pulseaudio = handleTest ./xrdp-with-audio-pulseaudio.nix {};
|
xrdp-with-audio-pulseaudio = runTest ./xrdp-with-audio-pulseaudio.nix;
|
||||||
xscreensaver = handleTest ./xscreensaver.nix {};
|
xscreensaver = handleTest ./xscreensaver.nix {};
|
||||||
xss-lock = runTest ./xss-lock.nix;
|
xss-lock = runTest ./xss-lock.nix;
|
||||||
xterm = runTest ./xterm.nix;
|
xterm = runTest ./xterm.nix;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import ./make-test-python.nix (
|
{ pkgs, ... }:
|
||||||
{ pkgs, ... }:
|
{
|
||||||
{
|
|
||||||
# How to interactively test this module if the audio actually works
|
# How to interactively test this module if the audio actually works
|
||||||
|
|
||||||
# - nix run .#pulseaudio-module-xrdp.tests.xrdp-with-audio-pulseaudio.driverInteractive
|
# - nix run .#pulseaudio-module-xrdp.tests.xrdp-with-audio-pulseaudio.driverInteractive
|
||||||
|
@ -106,5 +105,4 @@ import ./make-test-python.nix (
|
||||||
server.succeed('[ "$(cat /tmp/pulseaudio-sink)" == "xrdp-sink" ]')
|
server.succeed('[ "$(cat /tmp/pulseaudio-sink)" == "xrdp-sink" ]')
|
||||||
client.screenshot("remoterdp")
|
client.screenshot("remoterdp")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue