gstreamer/ci/scripts/test.sh
Tim-Philipp Müller dd80bf8cde ci: update for 1.24 branch
Don't have validate do --check-bugs in the 1.24 branch, as
any issues fixed may only have been fixed in the main branch.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6264>
2024-03-05 14:00:10 +00:00

23 lines
552 B
Bash
Executable file

#! /bin/bash
set -eux
timeout="${TIMEOUT_FACTOR:="2"}"
validate="${EXTRA_VALIDATE_ARGS:=""}"
parent="${CI_PROJECT_DIR:-$(pwd)}"
export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
echo "-> Running ${TEST_SUITE}"
./gst-env.py \
gst-validate-launcher ${TEST_SUITE} \
--dump-on-failure \
--mute \
--shuffle \
--no-display \
--meson-no-rebuild \
--timeout-factor "$timeout" \
--fail-on-testlist-change \
-l "$parent/validate-logs/" \
--xunit-file "$parent/validate-logs/xunit.xml" \
$validate