diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-10-28 19:11:17 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-10-28 19:13:12 +0000 |
commit | f974b979a5a9d15bce4623713e0aab7ec08795b6 (patch) | |
tree | 78a901dedfcb2a19d379cb7f45af24f83298a268 /nixos/tests | |
parent | 9ac64e5bb65aeca34bef01e48fefaea186428bc1 (diff) | |
download | nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar.gz nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar.bz2 nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar.lz nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar.xz nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.tar.zst nixlib-f974b979a5a9d15bce4623713e0aab7ec08795b6.zip |
nixos/plasma5: disable ocr tests
This is brittle and breaks the test
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/plasma5.nix | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix index eb705536827e..788c8719c8d2 100644 --- a/nixos/tests/plasma5.nix +++ b/nixos/tests/plasma5.nix @@ -26,31 +26,20 @@ import ./make-test.nix ({ pkgs, ...} : services.xserver.displayManager.sddm.theme = "breeze-ocr-theme"; services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.default = "plasma5"; + services.xserver.displayManager.sddm.autoLogin = { + enable = true; + user = "alice"; + }; virtualisation.memorySize = 1024; environment.systemPackages = [ sddm_theme ]; - - # fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why. - nixpkgs.config.packageOverrides = superPkgs: { - fontconfig-penultimate = superPkgs.fontconfig-penultimate.override { - version = "0.3.3"; - sha256 = "1z76jbkb0nhf4w7fy647yyayqr4q02fgk6w58k0yi700p0m3h4c9"; - }; - }; }; - enableOCR = true; - testScript = { nodes, ... }: let user = nodes.machine.config.users.users.alice; xdo = "${pkgs.xdotool}/bin/xdotool"; in '' startAll; - # Wait for display manager to start - $machine->waitForText(qr/${user.description}/); - $machine->screenshot("sddm"); - - # Log in - $machine->sendChars("${user.password}\n"); + # wait for log in $machine->waitForFile("/home/alice/.Xauthority"); $machine->succeed("xauth merge ~alice/.Xauthority"); |