[meta-virtualization] [PATCH 1/2] libvirt: fixup ptest to prevent attempts to build tests on the target

Bruce Ashfield bruce.ashfield at gmail.com
Mon Aug 20 08:36:41 PDT 2018


merged

Bruce

On Fri, Aug 17, 2018 at 4:43 PM, Mark Asselstine
<mark.asselstine at windriver.com> wrote:
> Oddly something seems to have changed since I did the uprev of libvirt
> to v4.3.0. Previously using the 'run-ptests' script would only run the
> tests and not attempt to build them first. In preparation for the
> uprev to v4.5.0 I attempted to run the tests and found that they would
> fail to run and instead the tests were attempting to be built. I
> suspect this change is caused by an uprev of autotools and the
> handling of the 'TESTS' built-in.
>
> To prevent this we are explicitly using the '--with-test-suite'
> configure option and this return the previously observed behavior,
> where the tests are simply run and not built.
>
> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>  recipes-extended/libvirt/libvirt_4.3.0.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
> index 194f049..bb4a256 100644
> --- a/recipes-extended/libvirt/libvirt_4.3.0.bb
> +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
> @@ -290,6 +290,7 @@ do_install_append() {
>
>  EXTRA_OECONF += " \
>      --with-init-script=systemd \
> +    --with-test-suite \
>      "
>
>  EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list