[dpdk-stable] patch 'test/power: skip KVM autotest if cannot run' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Thu Nov 29 14:21:00 CET 2018
Hi,
FYI, your patch has been queued to stable release 18.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/18. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.
Thanks.
Kevin Traynor
---
>From eff61775294c4bdbb8d58e45f834f8bdfbe1da1a Mon Sep 17 00:00:00 2001
From: Pallantla Poornima <pallantlax.poornima at intel.com>
Date: Thu, 15 Nov 2018 06:34:57 +0000
Subject: [PATCH] test/power: skip KVM autotest if cannot run
[ upstream commit f88bb9a674c74adac91b58ab2253b1752b34c8ac ]
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")
Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
Acked-by: Reshma Pattan <reshma.pattan at intel.com>
---
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
@@ -102,5 +102,5 @@ test_power_kvm_vm(void)
TEST_POWER_VM_LCORE_ID);
rte_power_unset_env();
- return -1;
+ return TEST_SKIPPED;
}
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-29 13:11:36.558190032 +0000
+++ 0059-test-power-skip-KVM-autotest-if-cannot-run.patch 2018-11-29 13:11:34.000000000 +0000
@@ -1,14 +1,15 @@
-From f88bb9a674c74adac91b58ab2253b1752b34c8ac Mon Sep 17 00:00:00 2001
+From eff61775294c4bdbb8d58e45f834f8bdfbe1da1a Mon Sep 17 00:00:00 2001
From: Pallantla Poornima <pallantlax.poornima at intel.com>
Date: Thu, 15 Nov 2018 06:34:57 +0000
Subject: [PATCH] test/power: skip KVM autotest if cannot run
+[ upstream commit f88bb9a674c74adac91b58ab2253b1752b34c8ac ]
+
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 at dpdk.org
Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
Acked-by: Reshma Pattan <reshma.pattan at intel.com>
More information about the stable
mailing list