For card LEG-583 I needed some simple ACPI tests to check that we have booted with ACPI support and have probably not corrupted the tables.
I think the attached script should do it if anyone has any comments. Next I need to see how to get this into a LAVA test.
Tests:-
1) Check presence of /sys/firmware/acpi 2) Check presence of /sys/firmware/acpi/tables/DSDT 3) If iasl is installed test decompile of /sys/firmware/acpi/tables/DSDT
I think this is simple enough to be a boot test but enough confidence that the bootloader correctly passed us some tables?
iasl should thanks to Naresh be part of released OE images soon.
Thanks
Graeme
W dniu 13.08.2013 11:52, Graeme Gregory pisze:
For card LEG-583 I needed some simple ACPI tests to check that we have booted with ACPI support and have probably not corrupted the tables.
I think the attached script should do it if anyone has any comments. Next I need to see how to get this into a LAVA test.
Keep script output as simple as possible for LAVA result parser purpose. LAVA job file will be simple as well then and result will look nice in dashboard. Like: "Test name: PAS/FAIL" what you actually are doing right now.
Tests:-
- Check presence of /sys/firmware/acpi
- Check presence of /sys/firmware/acpi/tables/DSDT
- If iasl is installed test decompile of /sys/firmware/acpi/tables/DSDT
I think this is simple enough to be a boot test but enough confidence that the bootloader correctly passed us some tables?
FWTS test suite seems to be good test here but it failed now AFAIK and exist as separate test.
Tomasz