aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qom-proplist.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-12-29 16:16:38 +0100
committerMichael S. Tsirkin <mst@redhat.com>2018-01-18 21:52:38 +0200
commitb24b9d947243c1108b958e544d48ec69d4dfbb2f (patch)
tree000ec25ac31e79fff00814328db03aeffa1e2c49 /tests/check-qom-proplist.c
parenta0c167a18470831e359f0538c3cf67907808f13e (diff)
tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table()
at best it's confusing that array for list of tables to be tested against reference tables is allocated within test_acpi_dsdt_table() and at worst it would just overwrite list of tables if they were added before test_acpi_dsdt_table(). Move array initialization to test_acpi_one() before we start processing tables. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/check-qom-proplist.c')
0 files changed, 0 insertions, 0 deletions