Include all of KDE in the KDE test
This commit is contained in:
parent
a6aba08d35
commit
b83a3987c5
|
@ -25,6 +25,21 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.xserver.desktopManager.kde4.enable = true;
|
services.xserver.desktopManager.kde4.enable = true;
|
||||||
|
|
||||||
|
# Include most of KDE. We don't really test these here, but at
|
||||||
|
# least they should build.
|
||||||
|
environment.systemPackages =
|
||||||
|
[ pkgs.kde4.kdemultimedia
|
||||||
|
pkgs.kde4.kdegraphics
|
||||||
|
pkgs.kde4.kdeutils
|
||||||
|
pkgs.kde4.kdegames
|
||||||
|
pkgs.kde4.kdeedu
|
||||||
|
pkgs.kde4.kdeaccessibility
|
||||||
|
pkgs.kde4.kdeadmin
|
||||||
|
pkgs.kde4.kdenetwork
|
||||||
|
pkgs.kde4.kdetoys
|
||||||
|
pkgs.kde4.kdewebdev
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript =
|
testScript =
|
||||||
|
@ -36,12 +51,15 @@
|
||||||
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
||||||
|
|
||||||
$machine->execute("su - alice -c 'DISPLAY=:0.0 kwrite /var/log/messages &'");
|
$machine->execute("su - alice -c 'DISPLAY=:0.0 kwrite /var/log/messages &'");
|
||||||
$machine->execute("su - alice -c 'DISPLAY=:0.0 konqueror http://localhost/ &'");
|
|
||||||
|
|
||||||
$machine->waitForWindow(qr/messages.*KWrite/);
|
$machine->waitForWindow(qr/messages.*KWrite/);
|
||||||
|
|
||||||
|
$machine->execute("su - alice -c 'DISPLAY=:0.0 konqueror http://localhost/ &'");
|
||||||
$machine->waitForWindow(qr/Valgrind.*Konqueror/);
|
$machine->waitForWindow(qr/Valgrind.*Konqueror/);
|
||||||
|
|
||||||
$machine->sleep(5);
|
$machine->execute("su - alice -c 'DISPLAY=:0.0 gwenview ${pkgs.kde4.kde_wallpapers}/share/wallpapers/Hanami/contents/images/1280x1024.jpg &'");
|
||||||
|
$machine->waitForWindow(qr/Gwenview/);
|
||||||
|
|
||||||
|
$machine->sleep(10);
|
||||||
|
|
||||||
$machine->screenshot("screen");
|
$machine->screenshot("screen");
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue