[Spice-devel] [PATCH spice-server v4 3/3] ci: Make possible to execute additional expensive checks on GitLab

Pavel Grunt pgrunt at redhat.com
Thu Mar 23 12:45:48 UTC 2017


On Thu, 2017-03-23 at 12:17 +0000, Frediano Ziglio wrote:
> Install missing GStreamer plugins and enable these checks.
> Currently the checks are enabled if valgrind is used.
> This as the main "makecheck" job uses address sanitizer which
> detects some leaks due to some Glib usage. Valgrind checks uses
> some suppression for some Glib leaks so they will work correctly.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
> You can find results at https://gitlab.com/freddy77/spice/builds/128
> 28678
> ---
>  .gitlab-ci.yml | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index c54516f..491ae66 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -22,9 +22,13 @@ statistics:
>  
>  check-valgrind:
>    script:
> +  - dnf install https://download1.rpmfusion.org/free/fedora/rpmfusi
> on-free-release-$(rpm -E %fedora).noarch.rpm -y
>    - dnf debuginfo-install spice-server -y
> -  - dnf install valgrind -y
> -  - ./autogen.sh --enable-valgrind
> +  - >
> +    dnf install valgrind
> +    gstreamer1-libav gstreamer1-plugins-ugly gstreamer1-plugins-
> good gstreamer1-plugins-bad-free
> +    -y
> +  - ./autogen.sh --enable-valgrind --enable-extra-checks
>    - make
>    - make check-valgrind || (cat server/tests/test-suite-
> memcheck.log && exit 1)
>  


More information about the Spice-devel mailing list