2019-11-05 17:38:47 +01:00
|
|
|
{ testEnv, pkgs, ... }:
|
2019-10-13 13:25:39 +02:00
|
|
|
with pkgs;
|
|
|
|
|
2019-10-22 19:24:02 +02:00
|
|
|
testEnv.mkTest {
|
2019-10-13 13:25:39 +02:00
|
|
|
name = "pci";
|
|
|
|
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ehmry ];
|
|
|
|
|
2019-10-22 19:24:02 +02:00
|
|
|
testConfig = testEnv.lib.renderDhallInit ./pci.dhall "{=}";
|
2019-10-13 13:25:39 +02:00
|
|
|
|
|
|
|
bootModules = {
|
2019-11-19 16:36:52 +01:00
|
|
|
acpi_drv = "${os}/bin/acpi_drv";
|
|
|
|
platform_drv = "${os}/bin/platform_drv";
|
|
|
|
report_rom = "${os}/bin/report_rom";
|
|
|
|
test-pci = "${os}/bin/test-pci";
|
2019-10-13 13:25:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
run_genode_until "--- Platform test finished ---.*\n" 60
|
|
|
|
'';
|
|
|
|
}
|