test/power: skip KVM autotest if cannot run
authorPallantla Poornima <pallantlax.poornima@intel.com>
Thu, 15 Nov 2018 06:34:57 +0000 (06:34 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 22:14:38 +0000 (23:14 +0100)
commitf88bb9a674c74adac91b58ab2253b1752b34c8ac
tree48c2f196412205e1270dbb47445ad8d9b6edbc15
parent1fc5606543f430386eea66c6d1600ae03b2929d2
test/power: skip KVM autotest if cannot run

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>
test/test/test_power_kvm_vm.c