2019-06-15 19:13:35 +01:00
|
|
|
# run installed tests
|
|
|
|
import ./make-test.nix ({ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "flatpak-builder";
|
|
|
|
meta = {
|
|
|
|
maintainers = pkgs.flatpak-builder.meta.maintainers;
|
|
|
|
};
|
|
|
|
|
|
|
|
machine = { pkgs, ... }: {
|
|
|
|
services.flatpak.enable = true;
|
2019-07-31 04:52:25 +01:00
|
|
|
xdg.portal.enable = true;
|
2019-06-15 19:13:35 +01:00
|
|
|
environment.systemPackages = with pkgs; [ gnome-desktop-testing flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
|
|
|
|
virtualisation.diskSize = 2048;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.flatpak-builder.installedTests}/share' --timeout 3600");
|
|
|
|
'';
|
|
|
|
})
|