]> git.proxmox.com Git - qemu-server.git/commit - test/run_ovf_tests.pl
test: print more info when OVF parsing fails
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 23 Apr 2020 10:46:46 +0000 (12:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Apr 2020 11:08:58 +0000 (13:08 +0200)
commit31bf5a0f2bd7563ea6a6196fee46d7ff07a9ec36
treea041568a4c7dcb4e000061009e349909e5788032
parent4fb85adc656197e999b37d0de2feeea303c5485c
test: print more info when OVF parsing fails

When one of the ovf tests fails to parse at all, we just get the
'die' message of the failing component, but not which file actually
failed to parse.

To get better output, convert the parsing also to a test and ok() and
fail() respectively and then printing the error.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
test/run_ovf_tests.pl