tests: acpi: always retain dumped ACPI tables in case of error
commit6c77aa909e0eec6531e2398d0e9e60ec6a9339c6
authorIgor Mammedov <imammedo@redhat.com>
Wed, 20 Nov 2019 09:02:40 +0000 (20 10:02 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Nov 2019 09:57:22 +0000 (20 04:57 -0500)
treee86dfe8d5d45f37619d9284cc5abd37140404823
parentec244b17391f8f9a16e91905a91a52dd77d3759f
tests: acpi: always retain dumped ACPI tables in case of error

If IASL wasn't able to parse expected file, test will just
print warning
  "Warning! iasl couldn't parse the expected aml\n"
and remove temporary table dumped from guest.

Typically expected tables are always valid, with an exception
when patchset introduces new tables.
Make sure dumped tables are retained even if expected files
are not valid, so one could have a chance to manualy check new
tables.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1574240560-12538-1-git-send-email-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/bios-tables-test.c