From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3E19C4CB5; Wed, 14 Nov 2018 10:24:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2018 01:24:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,231,1539673200"; d="scan'208";a="107949608" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 14 Nov 2018 01:24:54 -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 wAE9OrOr009733; Wed, 14 Nov 2018 09:24:53 GMT Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id wAE9OTgQ005644; Wed, 14 Nov 2018 09:24:29 GMT Received: (from ppoornix@localhost) by wgcvswdev001.ir.intel.com with œ id wAE9OTBu005639; Wed, 14 Nov 2018 09:24:29 GMT From: Pallantla Poornima To: dev@dpdk.org Cc: reshma.pattan@intel.com, david.hunt@intel.com, Pallantla Poornima , stable@dpdk.org Date: Wed, 14 Nov 2018 09:24:26 +0000 Message-Id: <1542187466-5437-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] 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: Wed, 14 Nov 2018 09:24:57 -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 --- 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