gstreamer-full: enable features unit test

As gst-build can select features to be exposed by
gstreamer-full, the test will check that feature
are present or not present according to the current
configuration.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/381>
This commit is contained in:
Stéphane Cerveau 2020-10-09 14:11:31 +02:00
parent d4e55b655c
commit 3822c33704

View file

@ -586,6 +586,7 @@ integration testsuites fedora:
rules:
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-examples|gst-omx|gstreamer-sharp|gst-plugins-rs)$/'
# gstreamer-full
gstreamer-full:
extends: 'build static fedora x86_64'
stage: integrate
@ -608,6 +609,38 @@ gstreamer-full:
paths:
- 'meson-logs/'
gstreamer-full-minimal:
extends: 'build static fedora x86_64'
stage: integrate
variables:
MESON_ARGS: >
--default-library=static
-Dauto_features=disabled
-Dgstreamer:check=enabled
-Dtests=enabled
-Dgst-plugins-base:alsa=enabled
-Dgst-plugins-base:typefind=enabled
-Dgst-plugins-base:pbtypes=enabled
-Dgst-full-elements=coreelements:filesrc,fakesink,identity,input-selector
-Dgst-full-typefind-functions=typefindfunctions:wav,flv
-Dgst-full-device-providers=alsa:alsadeviceprovider
-Dgst-full-dynamic-types=pbtypes:video_multiview_flagset
$MESON_GST_WERROR
rules:
- if: '$CI_PROJECT_NAME =~ /^(gst-build|gst-ci)$/'
script:
- *gst_build
- meson test -C build -v test-gst-full
- meson test -C build test-gst-full-features --test-args "-e filesrc,identity,fakesink -E filesink,capsfilter -t audio/x-wav -T video/vivo -d alsadeviceprovider -D v4l2deviceprovider -l GstVideoMultiviewFlagsSet"
- strip build/libgstreamer-full-1.0.so
- ls -l build/libgstreamer-full-1.0.so
artifacts:
expire_in: "7 days"
when: "always"
paths:
- 'meson-logs/'
# Valgrind
.valgrind fedora x86_64:
extends: '.test fedora x86_64'