mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04:00
Fix: Skip tests correctly when ffmpeg is missing
This commit is contained in:
parent
d0899fe4fc
commit
630ac9e49b
@ -17,7 +17,8 @@ L_PASS="bar"
|
|||||||
L_AUTH="$L_USER:$L_PASS"
|
L_AUTH="$L_USER:$L_PASS"
|
||||||
|
|
||||||
command -v ffmpeg >/dev/null 2>&1 || {
|
command -v ffmpeg >/dev/null 2>&1 || {
|
||||||
echo >&2 "# ffmpeg required for tests not found. Aborting."; exit 1;
|
echo "1..0 # skip because ffmpeg is required but not present."
|
||||||
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "# Starting Icecast"
|
echo "# Starting Icecast"
|
||||||
|
Loading…
Reference in New Issue
Block a user