summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/tests/run_all_unit_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'services/audioflinger/tests/run_all_unit_tests.sh')
-rwxr-xr-xservices/audioflinger/tests/run_all_unit_tests.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/services/audioflinger/tests/run_all_unit_tests.sh b/services/audioflinger/tests/run_all_unit_tests.sh
new file mode 100755
index 0000000..ffae6ae
--- /dev/null
+++ b/services/audioflinger/tests/run_all_unit_tests.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ -z "$ANDROID_BUILD_TOP" ]; then
+ echo "Android build environment not set"
+ exit -1
+fi
+
+echo "waiting for device"
+adb root && adb wait-for-device remount
+
+adb shell /system/bin/resampler_tests