summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-11-21 15:46:39 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-11-22 18:45:30 +0100
commitbebce8e8fb4f79fabd1f5f602b3bf90d542e02dc (patch)
treee1e222c8cb4b3eae7e11d659b58afe2ffe8104c4 /src
parent9f9f4f8573fa5a654e1237f9704694c7ac8c0c03 (diff)
Run tests with FFMpeg backend on macOS without depending on CMake variable
The mechanism employed where a CI test configuration would add 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}' to its environment variables to trigger QT_MEDIA_BACKEND=ffmpeg, was needlessly indirect and based on conditions that didn't make sense. A better alternative would be for the CI configurations to declare QT_MEDIA_BACKEND=ffmpeg directly in each configuration, but since we know that we want to run the tests with FFMpeg on all macOS configurations we can apply the environment variable directly, instead of modifying every single CI configuration. If multiple backend tests are needed in the future this can be done wither with QT_MEDIA_BACKEND set to multiple values, or by adding multimeida-specific CI configurations that override QT_MEDIA_BACKEND, but should not affect any of the generic macOS test configurations. Change-Id: I27e09ffb274d18b600af213e0cf79deadf7bc2d1 Reviewed-by: Lars Knoll <lars@knoll.priv.no> Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions