at 18.09-beta 486 B view raw
1# run installed tests 2import ./make-test.nix ({ pkgs, ... }: { 3 name = "gjs"; 4 5 meta = { 6 maintainers = pkgs.gnome3.gjs.meta.maintainers; 7 }; 8 9 machine = { pkgs, ... }: { 10 imports = [ ./common/x11.nix ]; 11 environment.systemPackages = with pkgs; [ gnome-desktop-testing ]; 12 environment.variables.XDG_DATA_DIRS = [ "${pkgs.gnome3.gjs.installedTests}/share" ]; 13 }; 14 15 testScript = '' 16 $machine->waitForX; 17 $machine->succeed("gnome-desktop-testing-runner"); 18 ''; 19})