mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
6a79f6fb71
Forgot about this test. Shouldn't fail with an assertion error anymore.
21 lines
583 B
Nix
21 lines
583 B
Nix
# run installed tests
|
|
import ./make-test.nix ({ pkgs, ... }:
|
|
|
|
{
|
|
name = "flatpak-builder";
|
|
meta = {
|
|
maintainers = pkgs.flatpak-builder.meta.maintainers;
|
|
};
|
|
|
|
machine = { pkgs, ... }: {
|
|
services.flatpak.enable = true;
|
|
xdg.portal.enable = true;
|
|
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");
|
|
'';
|
|
})
|