meson test Command printed by the gst-validate-launcher is super painful to reproduce locally because of absolute paths
The current gst-validate-launcher command is super long and impossible to re-use locally. The big issue are the absolute paths.
I get something like:
HOSTNAME='runner-nXyY3ZHz-project-1497-concurrent-0' CI_BUILD_NAME='build fedora x86_64' CI_CONCURRENT_ID='1' CI_BUILD_ID='1114297' CCACHE_BASEDIR='/cache/gstreamer/gst-build' G_DEBUG='gc-friendly' GST_TAG_LICENSE_TRANSLATIONS_DICT='/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-base/gst-libs/gst/tag/license-translations.dict' GST_CHECKS='test_reuse_without_decoders' CI_BUILD_TOKEN='W1yynZbq3PdZkJnY6bBE' CI_RUNNER_ID='382' _='/usr/local/bin/meson' CI_BUILD_STAGE='build' G_SLICE='always-malloc' CI_REGISTRY_PASSWORD='W1yynZbq3PdZkJnY6bBE' CI_JOB_TOKEN='W1yynZbq3PdZkJnY6bBE' CCACHE_MAXSIZE='10G' GST_PLUGIN_SYSTEM_PATH_1_0='' CI_JOB_NAME='build fedora x86_64' CCACHE_DIR='/cache/gstreamer/gst-build/ccache/' MESON_ARGS='-Dpython=enabled -Dlibav=enabled -Dugly=enabled -Dbad=enabled -Ddevtools=enabled -Dges=enabled -Drtsp_server=enabled -Dvaapi=enabled -Dsharp=disabled
-Dsharp=enabled -Domx=enabled -Dgst-omx:target=generic -Ddoc=enabled --default-library=both --werror' CI_REPOSITORY_URL='https://gitlab-ci-token:W1yynZbq3PdZkJnY6bBE@gitlab.freedesktop.org/ocrete/gst-plugins-base.git' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' GST_PLUGIN_PATH_1_0='/builds/ocrete/gst-plugins-base/gst-build/build:/usr/local/lib64/gstreamer-1.0' GST_REGISTRY='/builds/ocrete/gst-plugins-base/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_decodebin.registry' CK_DEFAULT_TIMEOUT='20' CCACHE_COMPRESS='true' CK_TIMEOUT_MULTIPLIER='20' CI_JOB_STAGE='build' CI_RUNNER_DESCRIPTION='gst-gitlab-htz-runner1' GST_VALIDATE_CONFIG='/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/valgrind.config' CI_JOB_ID='1114297' ORC_CODE='backup' CI_RUNNER_SHORT_TOKEN='nXyY3ZHz' CCACHE_COMPILERCHECK='content' GST_STATE_IGNORE_ELEMENTS='cdio cdparanoiasrc libvisual_ alsasrc alsasink' CI_JOB_URL='https://gitlab.freedesktop.org/ocrete/gst-plugins-base/-/jobs/1114297' GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base@/builds/ocrete/gst-plugins-base/gst-build/build' valgrind --trace-children=yes --tool=memcheck --leak-check=full --leak-resolution=high --errors-for-leak-kinds=definite,indirect --show-leak-kinds=definite,indirect --show-possibly-lost=no --num-callers=20 --error-exitcode=20 --gen-suppressions=all --log-file=/builds/ocrete/gst-plugins-base/validate-logs/check/gst-plugins-base/elements_decodebin/test_reuse_without_decoders.valgrind --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/gstvalidate.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gstreamer/tests/check/gstreamer.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-base/tests/check/gst-plugins-base.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-good/tests/check/gst-plugins-good.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-bad/tests/check/gst-plugins-bad.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-ugly/tests/check/gst-plugins-ugly.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-libav/tests/check/gst-libav.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/gstvalidate.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/libnice/tests/libnice.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/libsoup/tests/libsoup.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/glib/glib.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-python/testsuite/gstpython.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-python/testsuite/python.supp /builds/ocrete/gst-plugins-base/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_decodebin
I'd rather have something like
HOSTNAME='runner-nXyY3ZHz-project-1497-concurrent-0' CI_BUILD_NAME='build fedora x86_64' CI_CONCURRENT_ID='1' CI_BUILD_ID='1114297' CCACHE_BASEDIR='/cache/gstreamer/gst-build' G_DEBUG='gc-friendly' GST_TAG_LICENSE_TRANSLATIONS_DICT='/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-base/gst-libs/gst/tag/license-translations.dict' GST_CHECKS='test_reuse_without_decoders' CI_BUILD_TOKEN='W1yynZbq3PdZkJnY6bBE' CI_RUNNER_ID='382' _='/usr/local/bin/meson' CI_BUILD_STAGE='build' G_SLICE='always-malloc' CI_REGISTRY_PASSWORD='W1yynZbq3PdZkJnY6bBE' CI_JOB_TOKEN='W1yynZbq3PdZkJnY6bBE' CCACHE_MAXSIZE='10G' GST_PLUGIN_SYSTEM_PATH_1_0='' CI_JOB_NAME='build fedora x86_64' CCACHE_DIR='/cache/gstreamer/gst-build/ccache/' MESON_ARGS='-Dpython=enabled -Dlibav=enabled -Dugly=enabled -Dbad=enabled -Ddevtools=enabled -Dges=enabled -Drtsp_server=enabled -Dvaapi=enabled -Dsharp=disabled
-Dsharp=enabled -Domx=enabled -Dgst-omx:target=generic -Ddoc=enabled --default-library=both --werror' CI_REPOSITORY_URL='https://gitlab-ci-token:W1yynZbq3PdZkJnY6bBE@gitlab.freedesktop.org/ocrete/gst-plugins-base.git' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' GST_PLUGIN_PATH_1_0='/builds/ocrete/gst-plugins-base/gst-build/build:/usr/local/lib64/gstreamer-1.0' GST_REGISTRY='/builds/ocrete/gst-plugins-base/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_decodebin.registry' CK_DEFAULT_TIMEOUT='20' CCACHE_COMPRESS='true' CK_TIMEOUT_MULTIPLIER='20' CI_JOB_STAGE='build' CI_RUNNER_DESCRIPTION='gst-gitlab-htz-runner1' GST_VALIDATE_CONFIG='/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/valgrind.config' CI_JOB_ID='1114297' ORC_CODE='backup' CI_RUNNER_SHORT_TOKEN='nXyY3ZHz' CCACHE_COMPILERCHECK='content' GST_STATE_IGNORE_ELEMENTS='cdio cdparanoiasrc libvisual_ alsasrc alsasink' CI_JOB_URL='https://gitlab.freedesktop.org/ocrete/gst-plugins-base/-/jobs/1114297' GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base@/builds/ocrete/gst-plugins-base/gst-build/build' valgrind --trace-children=yes --tool=memcheck --leak-check=full --leak-resolution=high --errors-for-leak-kinds=definite,indirect --show-leak-kinds=definite,indirect --show-possibly-lost=no --num-callers=20 --error-exitcode=20 --gen-suppressions=all --log-file=/builds/ocrete/gst-plugins-base/validate-logs/check/gst-plugins-base/elements_decodebin/test_reuse_without_decoders.valgrind --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/gstvalidate.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gstreamer/tests/check/gstreamer.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-base/tests/check/gst-plugins-base.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-good/tests/check/gst-plugins-good.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-bad/tests/check/gst-plugins-bad.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-plugins-ugly/tests/check/gst-plugins-ugly.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-libav/tests/check/gst-libav.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-devtools/validate/data/gstvalidate.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/libnice/tests/libnice.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/libsoup/tests/libsoup.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/glib/glib.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-python/testsuite/gstpython.supp --suppressions=/builds/ocrete/gst-plugins-base/gst-build/subprojects/gst-python/testsuite/python.supp /builds/ocrete/gst-plugins-base/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_decodebin
I'd prefer if we removed the /builds/ocrete/gst-plugins-base/gst-build/
from the command to make it easier to run locally.