1#!/bin/bash 2# 3# Script to run all transcoding related tests from subfolders. 4# Run script from this folder. 5# 6 7if [ -z "$ANDROID_BUILD_TOP" ]; then 8 echo "Android build environment not set" 9 exit -1 10fi 11 12# ensure we have mm 13. $ANDROID_BUILD_TOP/build/envsetup.sh 14 15mm 16 17echo "waiting for device" 18 19adb root && adb wait-for-device remount && adb sync 20SYNC_FINISHED=true 21 22# Run the transcoding service tests. 23pushd tests 24. build_and_run_all_unit_tests.sh 25popd 26 27# Run the transcoder tests. 28pushd transcoder/tests/ 29. build_and_run_all_unit_tests.sh 30popd 31 32