nixosTests.mpv: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-02 17:26:41 +02:00
parent c241eb319f
commit 244d31d15a
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 24 additions and 26 deletions

View file

@ -805,7 +805,7 @@ in
moosefs = handleTest ./moosefs.nix { }; moosefs = handleTest ./moosefs.nix { };
movim = discoverTests (import ./web-apps/movim { inherit handleTestOn; }); movim = discoverTests (import ./web-apps/movim { inherit handleTestOn; });
mpd = handleTest ./mpd.nix { }; mpd = handleTest ./mpd.nix { };
mpv = handleTest ./mpv.nix { }; mpv = runTest ./mpv.nix;
mtp = handleTest ./mtp.nix { }; mtp = handleTest ./mtp.nix { };
multipass = handleTest ./multipass.nix { }; multipass = handleTest ./multipass.nix { };
mumble = handleTest ./mumble.nix { }; mumble = handleTest ./mumble.nix { };

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ lib, ... }: { lib, ... }:
let let
@ -25,4 +24,3 @@ import ./make-test-python.nix (
assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}") assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}")
''; '';
} }
)