17 lines
460 B
Nix
17 lines
460 B
Nix
{
|
|
name = "x86";
|
|
constraints = builtins.any (spec: spec == "x86");
|
|
machine = { pkgs, ... }: {
|
|
genode.init.subinits.test = {
|
|
configFile = ./x86.dhall;
|
|
inputs = with pkgs.genodePackages;
|
|
[ acpi_drv platform_drv report_rom test-signal ]
|
|
++ (map genodeSources.make [ "test/pci" "test/rtc" ]);
|
|
};
|
|
};
|
|
testScript = ''
|
|
start_all()
|
|
machine.wait_until_serial_output("child \"test\" exited with exit value 0")
|
|
'';
|
|
}
|