mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
gitlab/ci_template: run valgrind tests automatically
Don't valgrind everything for all changes though, but only those modules most likely to be affected by changes in the current ci project. So, valgrind - gstreamer only for gstreamer core changes - gst-plugins-base for core/base changes - gst-plugins-good for core/base/good changes - gst-plugins-ugly for core/base/ugly changes - gst-plugins-bad for core/base/good changes In other words: don't valgrind core/base if it's good/bad/ugly that's being changed, for example. Don't valgrind -good or -ugly for changes in -bad, etc. Meaning: - for changes in core, valgrind core/base/good/ugly/bad - for changes in base, valgrind base/good/ugly/bad - for changes in good, valgrind good/bad - for changes in ugly, valgrind ugly - for changes in bad, valgrind bad More modules to be added later once they're valgrind clean on the CI. https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/80
This commit is contained in:
parent
21733f4057
commit
7ed820aa1f
1 changed files with 16 additions and 2 deletions
|
@ -262,8 +262,7 @@ check fedora:
|
|||
# Valgrind
|
||||
.valgrind fedora x86_64:
|
||||
extends: '.test fedora x86_64'
|
||||
stage: test
|
||||
when: manual
|
||||
stage: 'full tests'
|
||||
variables:
|
||||
SUPPRESSION_FILES: >
|
||||
gst-build/subprojects/gstreamer/tests/check/gstreamer.supp
|
||||
|
@ -390,26 +389,41 @@ valgrind core:
|
|||
extends: '.valgrind fedora x86_64'
|
||||
variables:
|
||||
TEST_SUITE: "check.gstreamer\\..*"
|
||||
only:
|
||||
variables:
|
||||
- $CI_PROJECT_NAME == "gstreamer"
|
||||
|
||||
valgrind base:
|
||||
extends: '.valgrind fedora x86_64'
|
||||
variables:
|
||||
TEST_SUITE: "check.gst-plugins-base\\..*"
|
||||
only:
|
||||
variables:
|
||||
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base)$/
|
||||
|
||||
valgrind good:
|
||||
extends: '.valgrind fedora x86_64'
|
||||
variables:
|
||||
TEST_SUITE: "check.gst-plugins-good\\..*"
|
||||
only:
|
||||
variables:
|
||||
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good)$/
|
||||
|
||||
valgrind ugly:
|
||||
extends: '.valgrind fedora x86_64'
|
||||
variables:
|
||||
TEST_SUITE: "check.gst-plugins-ugly\\..*"
|
||||
only:
|
||||
variables:
|
||||
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-ugly)$/
|
||||
|
||||
valgrind bad:
|
||||
extends: '.valgrind fedora x86_64'
|
||||
variables:
|
||||
TEST_SUITE: "check.gst-plugins-bad\\..*"
|
||||
only:
|
||||
variables:
|
||||
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good|gst-plugins-bad)$/
|
||||
|
||||
|
||||
# Template for Cerbero GStreamer Build
|
||||
|
|
Loading…
Reference in a new issue