[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/20] qtest/meson.build: check CONFIG_TCG for prom-env-test in qt
From: |
Cédric Le Goater |
Subject: |
[PULL 01/20] qtest/meson.build: check CONFIG_TCG for prom-env-test in qtests_ppc |
Date: |
Tue, 15 Mar 2022 07:37:17 +0100 |
From: Daniel Henrique Barboza <danielhb413@gmail.com>
'prom-env-test' is a TCG test that will fail if QEMU is compiled with
--disable-tcg:
$ QTEST_QEMU_BINARY=./qemu-system-ppc64 ./tests/qtest/prom-env-test
/ppc64/prom-env/mac99: qemu-system-ppc64: -accel tcg: invalid accelerator tcg
(... hangs indefinitely ...)
Fix it by checking CONFIG_TCG before compiling prom-env-test.
Cc: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220303153517.168943-2-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
tests/qtest/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index 7d8c74fdba29..7b74d3116a9c 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -160,7 +160,8 @@ qtests_ppc = \
(slirp.found() ? ['test-netfilter'] : []) + \
(config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] :
[]) + \
(config_all_devices.has_key('CONFIG_M48T59') ? ['m48t59-test'] : []) +
\
- ['boot-order-test', 'prom-env-test', 'boot-serial-test'] \
+ (config_all_devices.has_key('CONFIG_TCG') ? ['prom-env-test'] : []) +
\
+ ['boot-order-test', 'boot-serial-test']
qtests_ppc64 = \
qtests_ppc + \
--
2.34.1
- [PULL 00/20] ppc fixes for 7.0, Cédric Le Goater, 2022/03/15
- [PULL 01/20] qtest/meson.build: check CONFIG_TCG for prom-env-test in qtests_ppc,
Cédric Le Goater <=
- [PULL 17/20] ppc/xive2: Make type Xive2EndSource not user creatable, Cédric Le Goater, 2022/03/15
- [PULL 13/20] avocado/ppc_prep_40p.py: check TCG accel in all tests, Cédric Le Goater, 2022/03/15
- [PULL 20/20] ppc/pnv: Remove user-created PHB{3,4,5} devices, Cédric Le Goater, 2022/03/15
- [PULL 06/20] avocado/boot_linux_console.py: check TCG accel in test_ppc_g3beige(), Cédric Le Goater, 2022/03/15
- [PULL 14/20] avocado/ppc_virtex_ml507.py: check TCG accel in test_ppc_virtex_ml507(), Cédric Le Goater, 2022/03/15
- [PULL 03/20] avocado/boot_linux_console.py: check for tcg in test_ppc_powernv8/9, Cédric Le Goater, 2022/03/15
- [PULL 11/20] avocado/ppc_bamboo.py: check TCG accel in test_ppc_bamboo(), Cédric Le Goater, 2022/03/15
- [PULL 02/20] qtest/meson.build: check CONFIG_TCG for boot-serial-test in qtests_ppc, Cédric Le Goater, 2022/03/15
- [PULL 10/20] avocado/ppc_74xx.py: check TCG accel for all tests, Cédric Le Goater, 2022/03/15
- [PULL 09/20] avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep(), Cédric Le Goater, 2022/03/15