2020-01-17 01:24:34 +01:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
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 ];
|
|
|
|
|
2020-01-17 19:27:04 +01:00
|
|
|
testConfig = ./pci.dhall;
|
2020-03-10 13:33:53 +01:00
|
|
|
testInputs = map pkgs.genodeSources.make [
|
|
|
|
"drivers/acpi"
|
|
|
|
"drivers/platform"
|
|
|
|
"server/report_rom"
|
|
|
|
"test/pci"
|
|
|
|
];
|
2019-10-13 13:25:39 +02:00
|
|
|
testScript = ''
|
2020-03-10 13:33:53 +01:00
|
|
|
run_genode_until ".*--- Platform test finished ---.*\n" 60
|
2019-10-13 13:25:39 +02:00
|
|
|
'';
|
|
|
|
}
|