[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 6/6] tests: add drive_del-test to ppc/ppc64
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 6/6] tests: add drive_del-test to ppc/ppc64 |
Date: |
Fri, 29 Jul 2016 14:53:44 +1000 |
From: Laurent Vivier <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
tests/Makefile.include | 2 ++
tests/drive_del-test.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 4b5123b..ebecfa4 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -259,6 +259,8 @@ check-qtest-arm-y += tests/virtio-blk-test$(EXESUF)
gcov-files-arm-y += arm-softmmu/hw/block/virtio-blk.c
check-qtest-ppc-y += tests/boot-order-test$(EXESUF)
check-qtest-ppc64-y += tests/boot-order-test$(EXESUF)
+check-qtest-ppc-y += tests/drive_del-test$(EXESUF)
+check-qtest-ppc64-y += tests/drive_del-test$(EXESUF)
check-qtest-ppc64-y += tests/spapr-phb-test$(EXESUF)
gcov-files-ppc64-y += ppc64-softmmu/hw/ppc/spapr_pci.c
check-qtest-ppc-y += tests/prom-env-test$(EXESUF)
diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c
index 74e43c2..121b9c9 100644
--- a/tests/drive_del-test.c
+++ b/tests/drive_del-test.c
@@ -115,7 +115,8 @@ int main(int argc, char **argv)
qtest_add_func("/drive_del/without-dev", test_drive_without_dev);
/* TODO I guess any arch with PCI would do */
- if (!strcmp(arch, "i386") || !strcmp(arch, "x86_64")) {
+ if (!strcmp(arch, "i386") || !strcmp(arch, "x86_64") ||
+ !strcmp(arch, "ppc") || !strcmp(arch, "ppc64")) {
qtest_add_func("/drive_del/after_failed_device_add",
test_after_failed_device_add);
qtest_add_func("/blockdev/drive_del_device_del",
--
2.7.4
- [Qemu-ppc] [PULL 0/6] ppc-for-2.7 queue 20160729, David Gibson, 2016/07/29
- [Qemu-ppc] [PULL 5/6] spapr: Prevent boot CPU core removal, David Gibson, 2016/07/29
- [Qemu-ppc] [PULL 6/6] tests: add drive_del-test to ppc/ppc64,
David Gibson <=
- [Qemu-ppc] [PULL 4/6] ppc: Fix fault PC reporting for lve*/stve* VMX instructions, David Gibson, 2016/07/29
- [Qemu-ppc] [PULL 1/6] spapr: init CPUState->cpu_index with index relative to core-id, David Gibson, 2016/07/29
- [Qemu-ppc] [PULL 2/6] Revert "spapr: Ensure CPU cores are added contiguously and removed in LIFO order", David Gibson, 2016/07/29
- [Qemu-ppc] [PULL 3/6] test: port postcopy test to ppc64, David Gibson, 2016/07/29
- Re: [Qemu-ppc] [PULL 0/6] ppc-for-2.7 queue 20160729, Peter Maydell, 2016/07/29