Skip to content

tests: acpi: fix FADT not being tested and cleanups

Igor Mammedov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table()tests/bios-tables-test.c+2 -20 replies
2/5tests: acpi: init table descriptor in test_dst_table()tests/bios-tables-test.c+1 -30 replies
3/5tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its usagetests/bios-tables-test.c+10 -50 replies
4/5tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usagetests/bios-tables-test.c+3 -00 replies
5/5tests: acpi: fix FADT not being compared to reference tabletests/bios-tables-test.c+2 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] tests: acpi: fix FADT not being tested and cleanups

Even though we have tests/acpi-test-data/[q35|pc]/FACP reference table in source tree, it hasn't been actually tested. As result it went stale and we did not notice any changes that were happening to it.

Fix it buy making sure it's not ignored and before fixing it, do some cleanups in testcase that hopefully will make more clear what functions actually do.

NOTE to maintaner:
after fix in 5/5 update following reference tables, to match reality tests/acpi-test-data/pc/FACP tests/acpi-test-data/q35/FACP

CC Michael S. Tsirkin" <[email protected]>
CC Thomas Huth <[email protected]>

Igor Mammedov (5):
tests: acpi: move tested tables array allocation outside of
test_acpi_dsdt_table()
tests: acpi: init table descriptor in test_dst_table()
tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its
usage
tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables
usage
tests: acpi: fix FADT not being compared to reference table

 tests/bios-tables-test.c | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4