summaryrefslogtreecommitdiff
path: root/media/eco/tests/run_all_unit_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'media/eco/tests/run_all_unit_tests.sh')
-rw-r--r--media/eco/tests/run_all_unit_tests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/media/eco/tests/run_all_unit_tests.sh b/media/eco/tests/run_all_unit_tests.sh
new file mode 100644
index 0000000..0b5fee0
--- /dev/null
+++ b/media/eco/tests/run_all_unit_tests.sh
@@ -0,0 +1,10 @@
+#!/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 sync
+
+adb shell /data/nativetest/EcoDataTest/EcoDataTest