roms as dependencies won't be available in packaged qemu

Forwarded: no
Last-Update: 2022-01-05

Due to the removal of blobs the packaging will not have the roms
dependency set and would fail at configure stage with:
  ../../tests/qtest/meson.build:272:2: ERROR: Unknown variable "roms".
Switch it back to the former empty intializer.

Gbp-Pq: Name ignore-roms-dependency-in-qtest.patch
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
This commit is contained in:
Christian Ehrhardt 2022-11-03 15:33:35 +08:00 committed by Cong Liu
parent d7e11d224e
commit f91bd02a0c
1 changed files with 2 additions and 1 deletions

View File

@ -321,7 +321,8 @@ foreach dir : target_dirs
qtest_emulator = emulators['qemu-system-' + target_base]
target_qtests = get_variable('qtests_' + target_base, []) + qtests_generic
test_deps = roms
# roms as dependencies won't be available in packaged qemu
test_deps = []
qtest_env = environment()
if have_tools
qtest_env.set('QTEST_QEMU_IMG', './qemu-img')