Tim Steinbach
5 years ago
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA
3 changed files with
30 additions and
0 deletions
-
nixos/release-combined.nix
-
nixos/release.nix
-
nixos/tests/xmonad.nix
|
|
@ -115,6 +115,7 @@ in rec { |
|
|
|
(all nixos.tests.slim) |
|
|
|
(all nixos.tests.udisks2) |
|
|
|
(all nixos.tests.xfce) |
|
|
|
(all nixos.tests.xmonad) |
|
|
|
|
|
|
|
nixpkgs.tarball |
|
|
|
(all allSupportedNixpkgs.emacs) |
|
|
|
|
|
@ -312,6 +312,7 @@ in rec { |
|
|
|
tests.virtualbox = callSubTests tests/virtualbox.nix { system = "x86_64-linux"; }; |
|
|
|
tests.wordpress = callTest tests/wordpress.nix {}; |
|
|
|
tests.xfce = callTest tests/xfce.nix {}; |
|
|
|
tests.xmonad = callTest tests/xmonad.nix {}; |
|
|
|
|
|
|
|
|
|
|
|
/* Build a bunch of typical closures so that Hydra can keep track of |
|
|
|
|
|
@ -0,0 +1,28 @@ |
|
|
|
import ./make-test.nix ({ pkgs, ...} : { |
|
|
|
name = "xmonad"; |
|
|
|
meta = with pkgs.stdenv.lib.maintainers; { |
|
|
|
maintainers = [ nequissimus ]; |
|
|
|
}; |
|
|
|
|
|
|
|
machine = { lib, pkgs, ... }: { |
|
|
|
imports = [ ./common/x11.nix ./common/user-account.nix ]; |
|
|
|
services.xserver.displayManager.auto.user = "alice"; |
|
|
|
services.xserver.windowManager.default = lib.mkForce "xmonad"; |
|
|
|
services.xserver.windowManager.xmonad = { |
|
|
|
enable = true; |
|
|
|
enableContribAndExtras = true; |
|
|
|
extraPackages = with pkgs.haskellPackages; haskellPackages: [ xmobar ]; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
testScript = { nodes, ... }: '' |
|
|
|
$machine->waitForX; |
|
|
|
$machine->waitForFile("/home/alice/.Xauthority"); |
|
|
|
$machine->succeed("xauth merge ~alice/.Xauthority"); |
|
|
|
$machine->sleep(3); |
|
|
|
$machine->sendKeys("alt-shift-ret"); |
|
|
|
$machine->waitForWindow(qr/machine.*alice/); |
|
|
|
$machine->sleep(1); |
|
|
|
$machine->screenshot("terminal"); |
|
|
|
''; |
|
|
|
}) |