[dpdk-dev] [PATCH 3/6] test/test: mark tests as skipped when required lib not available

Hunt, David david.hunt at intel.com
Thu Feb 1 17:32:39 CET 2018


Hi Bruce,

On 31/1/2018 5:42 PM, Bruce Richardson wrote:
> The power management and KNI libraries are not compiled on a FreeBSD
> platform, which means that the tests can't run. Add in stub code for
> these cases, allowing the tests to still be compiled, but to report
> as skipped in those cases.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> CC: Ferruh Yigit <ferruh.yigit at intel.com>
> CC: David Hunt <david.hunt at intel.com>
> ---
>   test/test/test_kni.c                | 13 +++++++++++++
>   test/test/test_power.c              | 12 ++++++++++++
>   test/test/test_power_acpi_cpufreq.c | 11 +++++++++++
>   test/test/test_power_kvm_vm.c       | 11 +++++++++++
>   4 files changed, 47 insertions(+)

--snip--

Acked-by David Hunt <david.hunt at intel.com>



More information about the dev mailing list