nixos/tests: add gnome-installed-tests with builder function

The test script is also ported to python.
This commit is contained in:
worldofpeace
2019-11-06 19:18:28 -05:00
parent ceec19f682
commit eee5986ac3
24 changed files with 220 additions and 250 deletions
@@ -0,0 +1,14 @@
{ pkgs, makeInstalledTest, ... }:
makeInstalledTest {
tested = pkgs.flatpak-builder;
testConfig = {
services.flatpak.enable = true;
xdg.portal.enable = true;
environment.systemPackages = with pkgs; [ flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
virtualisation.diskSize = 2048;
};
testRunnerFlags = "--timeout 3600";
}