summaryrefslogtreecommitdiff
path: root/binder/bindertest.sh
blob: 4d58609697585ea8289c216f8091c402a24e9d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/system/bin/sh

#############################################################################
# Copyright (c) 2013 Linaro
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     Linaro <linaro-dev@lists.linaro.org>
#############################################################################

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 "[bindertest]: test passed"
else
    echo "[bindertest]: test failed"
fi