diff options
author | Igor Mammedov <imammedo@redhat.com> | 2017-12-29 16:16:38 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-01-18 21:52:38 +0200 |
commit | b24b9d947243c1108b958e544d48ec69d4dfbb2f (patch) | |
tree | 000ec25ac31e79fff00814328db03aeffa1e2c49 /tests/check-qom-proplist.c | |
parent | a0c167a18470831e359f0538c3cf67907808f13e (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