tests: qtest: bios-tables-test depends on the unpacked edk2 ROMs

Skip the test if bzip2 is not available, and run it after they are
uncompressed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210923105529.3845741-2-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2021-09-23 06:55:29 -04:00
parent e49c0ef6f1
commit 809954efc2
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,4 @@
roms = []
if unpack_edk2_blobs
fds = [
'edk2-aarch64-code.fd',
@ -11,7 +12,7 @@ if unpack_edk2_blobs
]
foreach f : fds
custom_target(f,
roms += custom_target(f,
build_by_default: have_system,
output: f,
input: '@0@.bz2'.format(f),