aboutsummaryrefslogtreecommitdiff
path: root/build/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh')
-rwxr-xr-xbuild/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh b/build/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh
new file mode 100755
index 0000000..d3fb43d
--- /dev/null
+++ b/build/lib.linux-x86_64-2.7/lava_android_test/test_definitions/shells/binder.sh
@@ -0,0 +1,13 @@
+#!/system/bin/sh
+
+chmod 777 /data/nativebenchmark/binderAddInts
+if [ -z "$1" ]; then
+ /data/nativebenchmark/binderAddInts -n 10
+else
+ /data/nativebenchmark/binderAddInts -n $1
+fi
+if [ $? -eq 0 ]; then
+ echo "binder=pass";
+else
+ echo "binder=fail";
+fi