mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 01:53:09 +09:00
parent
04a03a5c8c
commit
1fd9bc9a38
2 changed files with 24 additions and 27 deletions
|
@ -1298,7 +1298,7 @@ in {
|
|||
xss-lock = handleTest ./xss-lock.nix {};
|
||||
xterm = handleTest ./xterm.nix {};
|
||||
xxh = handleTest ./xxh.nix {};
|
||||
yabar = handleTest ./yabar.nix {};
|
||||
yabar = runTest ./yabar.nix;
|
||||
ydotool = handleTest ./ydotool.nix {};
|
||||
yggdrasil = runTest ./yggdrasil.nix;
|
||||
your_spotify = runTest ./your_spotify.nix;
|
||||
|
|
|
@ -1,33 +1,30 @@
|
|||
import ./make-test-python.nix (
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
name = "yabar";
|
||||
meta.maintainers = [ ];
|
||||
{
|
||||
name = "yabar";
|
||||
meta.maintainers = [ ];
|
||||
|
||||
nodes.machine = {
|
||||
imports = [
|
||||
./common/x11.nix
|
||||
./common/user-account.nix
|
||||
];
|
||||
nodes.machine = {
|
||||
imports = [
|
||||
./common/x11.nix
|
||||
./common/user-account.nix
|
||||
];
|
||||
|
||||
test-support.displayManager.auto.user = "bob";
|
||||
test-support.displayManager.auto.user = "bob";
|
||||
|
||||
programs.yabar.enable = true;
|
||||
programs.yabar.bars = {
|
||||
top.indicators.date.exec = "YABAR_DATE";
|
||||
};
|
||||
programs.yabar.enable = true;
|
||||
programs.yabar.bars = {
|
||||
top.indicators.date.exec = "YABAR_DATE";
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.start()
|
||||
machine.wait_for_x()
|
||||
testScript = ''
|
||||
machine.start()
|
||||
machine.wait_for_x()
|
||||
|
||||
# confirm proper startup
|
||||
machine.wait_for_unit("yabar.service", "bob")
|
||||
machine.sleep(10)
|
||||
machine.wait_for_unit("yabar.service", "bob")
|
||||
# confirm proper startup
|
||||
machine.wait_for_unit("yabar.service", "bob")
|
||||
machine.sleep(10)
|
||||
machine.wait_for_unit("yabar.service", "bob")
|
||||
|
||||
machine.screenshot("top_bar")
|
||||
'';
|
||||
}
|
||||
)
|
||||
machine.screenshot("top_bar")
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue