mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
19 lines
486 B
Nix
19 lines
486 B
Nix
# run installed tests
|
|
import ./make-test.nix ({ pkgs, ... }: {
|
|
name = "gjs";
|
|
|
|
meta = {
|
|
maintainers = pkgs.gnome3.gjs.meta.maintainers;
|
|
};
|
|
|
|
machine = { pkgs, ... }: {
|
|
imports = [ ./common/x11.nix ];
|
|
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
|
|
environment.variables.XDG_DATA_DIRS = [ "${pkgs.gnome3.gjs.installedTests}/share" ];
|
|
};
|
|
|
|
testScript = ''
|
|
$machine->waitForX;
|
|
$machine->succeed("gnome-desktop-testing-runner");
|
|
'';
|
|
})
|