patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH v2] test: fix to skip power kvm vm autotest
@ 2018-11-15  6:34 Pallantla Poornima
  2018-11-18 21:59 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Pallantla Poornima @ 2018-11-15  6:34 UTC (permalink / raw)
  To: dev; +Cc: reshma.pattan, david.hunt, Pallantla Poornima, stable

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 <pallantlax.poornima@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>

---
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH v2] test: fix to skip power kvm vm autotest
  2018-11-15  6:34 [dpdk-stable] [PATCH v2] test: fix to skip power kvm vm autotest Pallantla Poornima
@ 2018-11-18 21:59 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2018-11-18 21:59 UTC (permalink / raw)
  To: Pallantla Poornima; +Cc: stable, dev, reshma.pattan, david.hunt

15/11/2018 07:34, Pallantla Poornima:
> 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 <pallantlax.poornima@intel.com>
> Acked-by: Reshma Pattan <reshma.pattan@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-18 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15  6:34 [dpdk-stable] [PATCH v2] test: fix to skip power kvm vm autotest Pallantla Poornima
2018-11-18 21:59 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).