tests: add drive_del-test to ppc/ppc64
PATCH 1/1 tests: add drive_del-test to ppc/ppc64
Signed-off-by Laurent Vivier <[email protected]>
--- tests/Makefile.include | 2 ++ tests/drive_del-test.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)
tests/Makefile.include +2 -0
@@ -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)
tests/drive_del-test.c +2 -1
@@ -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",
Signature · 1 line
2.5.5
David Gibson
AppliedQuoted 5 lines · Laurent Vivier
Signed-off-by Laurent Vivier <[email protected]>--- tests/Makefile.include | 2 ++ tests/drive_del-test.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)
Applied to ppc-for-2.7, thanks.
Quoted 28 lines
tests/Makefile.include +2
-0@@ -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)tests/drive_del-test.c +2
-1@@ -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",
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson