[dpdk-dev] [PATCH] devtools: allow to skip some build tests
Thomas Monjalon
thomas at monjalon.net
Sun Aug 8 13:32:24 CEST 2021
03/05/2021 16:46, Thomas Monjalon:
> Inserting "return 1" in .develconfig file will allow to skip
> some build tests based on $DPDK_TARGET or other parameters.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> @@ -87,7 +87,7 @@ load_env () # <target compiler>
> fi
> echo "Using DPDK_TARGET $DPDK_TARGET" >&$verbose
> # config input: $DPDK_TARGET
> - . $srcdir/devtools/load-devel-config
> + . $srcdir/devtools/load-devel-config || return 1
> # config output: $DPDK_MESON_OPTIONS, $PATH, $PKG_CONFIG_PATH, etc
> command -v $targetcc >/dev/null 2>&1 || return 1
> }
This technique does not work,
and it is possible to skip a build test
by inserting targetcc=SKIP in the development config file.
More information about the dev
mailing list