From patchwork Fri Jul 29 04:53:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 9252067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 275C56077C for ; Fri, 29 Jul 2016 04:56:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12C0A27F46 for ; Fri, 29 Jul 2016 04:56:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 073B127F9A; Fri, 29 Jul 2016 04:56:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A137827F46 for ; Fri, 29 Jul 2016 04:56:12 +0000 (UTC) Received: from localhost ([::1]:57386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSzqF-0002tL-Qq for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Jul 2016 00:56:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSzmC-0007t3-Kl for qemu-devel@nongnu.org; Fri, 29 Jul 2016 00:52:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSzm6-0002Yl-SF for qemu-devel@nongnu.org; Fri, 29 Jul 2016 00:51:59 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:35152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSzm6-0002YF-GA; Fri, 29 Jul 2016 00:51:54 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 3s0xCV3wR7z9t2J; Fri, 29 Jul 2016 14:51:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1469767910; bh=ZODlWn3qW4NlnlskmxFimpGYI69Wq4GNhLc6D09aGH4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZGYsBxzBsEVmjc2gJDzMTlanEhSfgnT2mvbfRLTjK8tnPVXCL/jVop+jywZMRSrWI 430WNoW2VYU5IjwdB0b6cH+iLn3aVXyKcXTWxNFTz8nkKeoqButV8uLyJtBzEAaGGj MlXhRcZ/4Wr3U+cNkRFdPF/w5ambh1hDHEJEQk84= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 29 Jul 2016 14:53:44 +1000 Message-Id: <1469768024-32108-7-git-send-email-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1469768024-32108-1-git-send-email-david@gibson.dropbear.id.au> References: <1469768024-32108-1-git-send-email-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 6/6] tests: add drive_del-test to ppc/ppc64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , pkrempa@redhat.com, ehabkost@redhat.com, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, imammedo@redhat.com, David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Vivier Signed-off-by: Laurent Vivier Signed-off-by: David Gibson --- 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",