mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
ci: Run 'validate' and 'ges' integration testsuites
And use new validate feature to print debug logs URL directly in the logs instead of dumping the whole files.
This commit is contained in:
parent
e06f324cf1
commit
edd8ff52e3
2 changed files with 26 additions and 8 deletions
|
@ -184,3 +184,12 @@ android universal examples local:
|
||||||
except:
|
except:
|
||||||
refs:
|
refs:
|
||||||
- "master@gstreamer/gst-ci"
|
- "master@gstreamer/gst-ci"
|
||||||
|
|
||||||
|
integration testsuites fedora local:
|
||||||
|
extends: '.test fedora x86_64 local'
|
||||||
|
before_script:
|
||||||
|
- rm -f gst-build/build/subprojects/gstreamer-vaapi/gst/vaapi/libgstvaapi.so
|
||||||
|
variables:
|
||||||
|
EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures"
|
||||||
|
TEST_SUITE: "validate ges"
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ gst indent:
|
||||||
CXX: "ccache g++"
|
CXX: "ccache g++"
|
||||||
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
||||||
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
||||||
MAIN_DIR: "${CI_PROJECT_DIR}/validate-output/"
|
|
||||||
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
|
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -131,9 +130,10 @@ build nodebug fedora x86_64:
|
||||||
.test:
|
.test:
|
||||||
stage: 'test'
|
stage: 'test'
|
||||||
variables:
|
variables:
|
||||||
MAIN_DIR: "${CI_PROJECT_DIR}/validate-output/"
|
|
||||||
# Disable colored output to avoid weird rendering issues
|
# Disable colored output to avoid weird rendering issues
|
||||||
GST_DEBUG_COLOR: 'no'
|
GST_DEBUG_NO_COLOR: "true"
|
||||||
|
CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"
|
||||||
|
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
|
||||||
|
|
||||||
# note the -b at the start of each line
|
# note the -b at the start of each line
|
||||||
# Can't comment inline sadly
|
# Can't comment inline sadly
|
||||||
|
@ -226,6 +226,7 @@ build nodebug fedora x86_64:
|
||||||
-b check.gst-devtools.validate.launcher_tests.test_validate.launch_pipeline.not_negotiated.caps_query_failure.play_15s
|
-b check.gst-devtools.validate.launcher_tests.test_validate.launch_pipeline.not_negotiated.caps_query_failure.play_15s
|
||||||
script:
|
script:
|
||||||
- cd gst-build/
|
- cd gst-build/
|
||||||
|
- echo "-> Running ${TEST_SUITE} testsuite."
|
||||||
- >
|
- >
|
||||||
./gst-uninstalled.py
|
./gst-uninstalled.py
|
||||||
gst-validate-launcher ${TEST_SUITE}
|
gst-validate-launcher ${TEST_SUITE}
|
||||||
|
@ -233,10 +234,10 @@ build nodebug fedora x86_64:
|
||||||
--mute
|
--mute
|
||||||
--shuffle
|
--shuffle
|
||||||
--no-display
|
--no-display
|
||||||
--dump-on-failure
|
|
||||||
--meson-no-rebuild
|
--meson-no-rebuild
|
||||||
-M "${CI_PROJECT_DIR}/validate-output/"
|
--fail-on-testlist-change
|
||||||
--xunit-file "${CI_PROJECT_DIR}/validate-output/logs/xunit.xml"
|
-l "${CI_PROJECT_DIR}/validate-logs/"
|
||||||
|
--xunit-file "${CI_PROJECT_DIR}/validate-logs/xunit.xml"
|
||||||
${BLACKLIST}
|
${BLACKLIST}
|
||||||
${EXTRA_VALIDATE_ARGS}
|
${EXTRA_VALIDATE_ARGS}
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -244,10 +245,10 @@ build nodebug fedora x86_64:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- 'gst-build/build/meson-logs/'
|
- 'gst-build/build/meson-logs/'
|
||||||
- 'validate-output/logs'
|
- 'validate-logs'
|
||||||
reports:
|
reports:
|
||||||
junit:
|
junit:
|
||||||
- "validate-output/logs/*.xml"
|
- "validate-logs/*.xml"
|
||||||
# We disable the .build above, which this job usually depends upon for cerbero
|
# We disable the .build above, which this job usually depends upon for cerbero
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
|
@ -265,6 +266,14 @@ check fedora:
|
||||||
variables:
|
variables:
|
||||||
TEST_SUITE: "check.gst*"
|
TEST_SUITE: "check.gst*"
|
||||||
|
|
||||||
|
integration testsuites fedora:
|
||||||
|
extends: '.test fedora x86_64'
|
||||||
|
before_script:
|
||||||
|
- rm -f gst-build/build/subprojects/gstreamer-vaapi/gst/vaapi/libgstvaapi.so
|
||||||
|
variables:
|
||||||
|
EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures"
|
||||||
|
TEST_SUITE: "validate ges"
|
||||||
|
|
||||||
# Valgrind
|
# Valgrind
|
||||||
.valgrind fedora x86_64:
|
.valgrind fedora x86_64:
|
||||||
extends: '.test fedora x86_64'
|
extends: '.test fedora x86_64'
|
||||||
|
|
Loading…
Reference in a new issue