From e6e2653bf8e8ed463a1872d971e415e6856f431f Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 16 Oct 2024 22:29:04 +0300 Subject: [PATCH] ci: Always run the tests using software rasterization This way when run locally the environment matches what happens in the headless CI runners without a gpu. Part-of: --- ci/scripts/test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/scripts/test.sh b/ci/scripts/test.sh index 20d1742efc..aea9191d4e 100755 --- a/ci/scripts/test.sh +++ b/ci/scripts/test.sh @@ -24,6 +24,12 @@ echo "-> Running $tests" # https://github.com/openssl/openssl/blob/master/NOTES-VALGRIND.md export OPENSSL_ia32cap=":0" +# Force Software rendering for GL and Vulkan so the tests run locally +# like they would do in the CI. +export LIBGL_ALWAYS_SOFTWARE="true" +# This the hardcoded value for llvmpipe +export MESA_VK_DEVICE_SELECT="10005:0" + ./gst-env.py \ "--builddir=$builddir" \ gst-validate-launcher "$tests" \