sigil/tests/graphics.nix

27 lines
571 B
Nix
Raw Normal View History

2021-04-13 13:58:36 +02:00
{
2021-04-14 17:57:59 +02:00
name = "graphics";
2021-04-13 13:58:36 +02:00
machine = { config, lib, pkgs, ... }: {
genode.gui.consoleLog.enable = true;
2021-04-14 17:57:59 +02:00
2021-04-13 13:58:36 +02:00
genode.core.storeBackend = "fs";
2021-04-14 17:57:59 +02:00
hardware.genode.framebuffer.driver = "boot";
hardware.genode.usb = {
enable = true;
biosHandoff = false;
storage.enable = true;
};
2021-04-13 13:58:36 +02:00
2021-04-14 17:57:59 +02:00
genode.init.verbose = true;
genode.init.children.hello = {
package = pkgs.hello;
configFile = ./hello.dhall;
2021-04-13 13:58:36 +02:00
};
};
2021-04-14 17:57:59 +02:00
testScript = ''
start_all()
machine.wait_until_serial_output("child \"init\" exited with exit value 0")
'';
2021-04-13 13:58:36 +02:00
}