gstreamer/tests/virtme/run-virt-test.sh
Detlev Casanova 3796ee2466 tests: Add virtme fluster tests
Set up a test suite that runs fluster in a virtual machine using virtme.
This test only runs when a kernel image path is set in the new
`virtme_kernel_image` meson option.

The kernel iimage must have support for visl.

The suite contains 4 tests, 1 for each supported codec in visl:
 - vp8
 - vp9
 - h.264
 - hevc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5434>
2023-10-31 12:06:30 -04:00

21 lines
367 B
Bash
Executable file

#!/bin/sh
#
# Run the given command in the meson dev environment.
# The command return value will be stored in the given
# status file.
#
# $1: The command to be run
# $2: The status file
set -e
COMMAND="${1}"
STATUS_FILE="${2}"
echo Run ${COMMAND} in the devenv
meson devenv -C ${MESON_BUILD_DIR} ${COMMAND}
STATUS=$?
echo $STATUS > ${STATUS_FILE}
exit $STATUS