From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6B46F4C74; Thu, 15 Nov 2018 07:35:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2018 22:35:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,235,1539673200"; d="scan'208";a="86616227" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2018 22:35:28 -0800 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id wAF6ZSow012656; Thu, 15 Nov 2018 06:35:28 GMT Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id wAF6Z4Z1012912; Thu, 15 Nov 2018 06:35:04 GMT Received: (from ppoornix@localhost) by wgcvswdev001.ir.intel.com with œ id wAF6Z3mP012908; Thu, 15 Nov 2018 06:35:03 GMT From: Pallantla Poornima To: dev@dpdk.org Cc: reshma.pattan@intel.com, david.hunt@intel.com, Pallantla Poornima , stable@dpdk.org Date: Thu, 15 Nov 2018 06:34:57 +0000 Message-Id: <1542263697-12748-1-git-send-email-pallantlax.poornima@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2] test: fix to skip power kvm vm autotest X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 06:35:32 -0000 power_kvm_vm_autotest should run on kvm vm and virtio-ports should exist, if not test should skip. Hence changed return as TEST_SKIPPED. Fixes: 0ea2dd4409 ("test: skip when required lib not available") Cc: stable@dpdk.org Signed-off-by: Pallantla Poornima Acked-by: Reshma Pattan --- v2: Updated commit message. --- test/test/test_power_kvm_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_power_kvm_vm.c b/test/test/test_power_kvm_vm.c index bce706ded..785cd048d 100644 --- a/test/test/test_power_kvm_vm.c +++ b/test/test/test_power_kvm_vm.c @@ -101,7 +101,7 @@ test_power_kvm_vm(void) "Power management environment\n", TEST_POWER_VM_LCORE_ID); rte_power_unset_env(); - return -1; + return TEST_SKIPPED; } /* Test initialisation of previously initialised lcore */ -- 2.13.6