[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v6 31/38] tests/qtest: skip bios-tables-test test_acpi_oem_fields_v
From: |
Claudio Fontana |
Subject: |
[RFC v6 31/38] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM |
Date: |
Thu, 11 Mar 2021 14:30:19 +0100 |
test is TCG-only.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
tests/qtest/bios-tables-test.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index e020c83d2a..bd7b85909c 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -1488,6 +1488,13 @@ static void test_acpi_oem_fields_virt(void)
};
char *args;
+#ifndef CONFIG_TCG
+ if (data.tcg_only) {
+ g_test_skip("TCG disabled, skipping ACPI tcg_only test");
+ return;
+ }
+#endif /* CONFIG_TCG */
+
args = test_acpi_create_args(&data,
"-cpu cortex-a57 "OEM_TEST_ARGS, true);
data.qts = qtest_init(args);
--
2.26.2
- [RFC v6 24/38] target/arm: refactor exception and cpu code, (continued)
- [RFC v6 24/38] target/arm: refactor exception and cpu code, Claudio Fontana, 2021/03/11
- [RFC v6 26/38] target/arm: wrap call to aarch64_sve_change_el in tcg_enabled(), Claudio Fontana, 2021/03/11
- [RFC v6 20/38] target/arm: move arm_cpu_list to common_cpu, Claudio Fontana, 2021/03/11
- [RFC v6 18/38] target/arm: move sve_zcr_len_for_el to common_cpu, Claudio Fontana, 2021/03/11
- [RFC v6 21/38] target/arm: move aarch64_sync_32_to_64 (and vv) to cpu code, Claudio Fontana, 2021/03/11
- [RFC v6 27/38] target/arm: remove kvm include file for PSCI and arm-powerctl, Claudio Fontana, 2021/03/11
- [RFC v6 22/38] target/arm: split a15 cpu model and 32bit class functions to cpu32.c, Claudio Fontana, 2021/03/11
- [RFC v6 28/38] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/, Claudio Fontana, 2021/03/11
- [RFC v6 32/38] tests: restrict TCG-only arm-cpu-features tests to TCG builds, Claudio Fontana, 2021/03/11
- [RFC v6 29/38] target/arm: cleanup cpu includes, Claudio Fontana, 2021/03/11
- [RFC v6 31/38] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM,
Claudio Fontana <=
- [RFC v6 35/38] tests: do not run qom-test on all machines for ARM KVM-only, Claudio Fontana, 2021/03/11
- [RFC v6 30/38] target/arm: remove broad "else" statements when checking accels, Claudio Fontana, 2021/03/11
- [RFC v6 38/38] target/arm: move kvm cpu properties setting to kvm-cpu, Claudio Fontana, 2021/03/11
- [RFC v6 36/38] Revert "target/arm: Restrict v8M IDAU to TCG", Claudio Fontana, 2021/03/11
- [RFC v6 34/38] tests: device-introspect-test: cope with ARM TCG-only devices, Claudio Fontana, 2021/03/11
- [RFC v6 37/38] kvm: create kvm cpu accel class, Claudio Fontana, 2021/03/11
- [RFC v6 33/38] tests: do not run test-hmp on all machines for ARM KVM-only, Claudio Fontana, 2021/03/11