[PATCH v13 11/11] app/test: enable unit test on Windows
Bruce Richardson
bruce.richardson at intel.com
Wed Dec 8 17:57:52 CET 2021
On Tue, Dec 07, 2021 at 05:51:02PM -0800, Jie Zhou wrote:
> Enable a subset of unit tests for Windows CI
>
> - For driver tests, driver owners should enable corresponding tests when
> enabling driver for Windows. For example, the cryptodev tests will be
> enabled by "patch-18949: app/test: enable crypto unit tests on Windows"
> (which depends on this patchset to be merged).
> - For dump tests, currently the tests hang on Windows which require
> further investigation.
>
> Signed-off-by: Jie Zhou <jizh at linux.microsoft.com>
>
Mostly these changes look ok to me. One small query below.
/Bruce
> ---
> app/test/meson.build | 111 ++++++++++++++++++++++---------------------
> 1 file changed, 58 insertions(+), 53 deletions(-)
>
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 97ee83029e..fcf38729e7 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -1,12 +1,6 @@
> # SPDX-License-Identifier: BSD-3-Clause
> # Copyright(c) 2017 Intel Corporation
>
> -if is_windows
> - build = false
<snip>
> # The following linkages are an exception to allow running the
> # unit tests without requiring that the developer install the
> # DPDK libraries. Explicit linkage of drivers (plugin libraries)
> @@ -385,7 +390,7 @@ if dpdk_conf.has('RTE_LIB_METRICS')
> test_sources += ['test_metrics.c']
> fast_tests += [['metrics_autotest', true]]
> endif
> -if dpdk_conf.has('RTE_LIB_TELEMETRY')
> +if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY')
> test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']
> fast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]
If telemetry is enabled, is there a reason these won't run on Windows?
More information about the dev
mailing list