1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 08:19:00 +03:00
Files
android_cast/scripts/validate_opus_speex.sh
2026-06-05 12:54:41 +02:00

13 lines
477 B
Bash
Executable File

#!/usr/bin/env bash
# Unit-test baseline for Opus/Speex negotiation and stream protection (task 3).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
echo "== Opus/Speex + stream protection unit tests =="
./gradlew :app:testDebugUnitTest \
--tests 'com.foxx.androidcast.network.transport.StreamProtectionNegotiatorTest' \
--tests 'com.foxx.androidcast.media.AudioNegotiatorTest' \
--tests 'com.foxx.androidcast.media.codec.*' \
"$@"
echo "== OK =="