1# run installed tests
2import ./make-test.nix ({ pkgs, ... }: {
3 name = "gdk-pixbuf";
4
5 meta = {
6 maintainers = pkgs.gdk_pixbuf.meta.maintainers;
7 };
8
9 machine = { pkgs, ... }: {
10 environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
11 environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk_pixbuf.installedTests}/share" ];
12
13 virtualisation.memorySize = 4096; # Tests allocate a lot of memory trying to exploit a CVE
14 };
15
16 testScript = ''
17 $machine->succeed("gnome-desktop-testing-runner");
18 '';
19})