mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
parent
c241eb319f
commit
244d31d15a
2 changed files with 24 additions and 26 deletions
|
@ -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 { };
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
import ./make-test-python.nix (
|
{ lib, ... }:
|
||||||
{ lib, ... }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
port = toString 4321;
|
port = toString 4321;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = "mpv";
|
name = "mpv";
|
||||||
meta.maintainers = with lib.maintainers; [ zopieux ];
|
meta.maintainers = with lib.maintainers; [ zopieux ];
|
||||||
|
|
||||||
|
@ -24,5 +23,4 @@ import ./make-test-python.nix (
|
||||||
machine.wait_for_open_port(${port})
|
machine.wait_for_open_port(${port})
|
||||||
assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}")
|
assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue