aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 1ebf0c66f777489c64a7a201ed59df62c10f40f0 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
This project is used to run benchmark applications in:
ssh://linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/qa/benchmark-apks.git

1. Steps to build and run linaro.android.jar under the root of android source:
* have a fully built Android source tree
* build the test:
  mmm external/thirdparty-benchmarks
* deploy the test:
  adb push ${OUT}/data/local/tmp/linaro.android.jar /data/local/tmp/
* run the test:
  adb shell uiautomator runtest linaro.android.jar \
    -c org.linaro.benchmarks.BenchmarksTestCase#${test_method}

2. Steps to build and run linaro.android.jar under the root of android source:
* Download the android from http://developer.android.com/sdk/index.html
* unpack the sdk to some place of your local. like /tmp/android-sdk-linux/
* export the ANDROID_HOME environment variable. like:
  export ANDROID_HOME=/tmp/android-sdk-linux/
* install the ant command. like:
  sudo apt-get install ant
* build the test
  ./build.sh
* deploy the test:
  adb push bin/thirdparty-benchmarks.jar /data/local/tmp/
* run the test:
  adb shell uiautomator runtest linaro.android.jar \
    -c org.linaro.benchmarks.BenchmarksTestCase#${test_method}

3. Steps to create new tests off it:
* open file src/org/linaro/benchmarks/BenchmarksTestCase.java
* add method like testLinpack

4. steps to run the scripts in benchmarks-script directory
* checkout this git repository
* run command like "monkeyrunner benchmarks-script/antutu/run.py" for antutu test

5. wiki for reference:
   https://wiki.linaro.org/Platform/Android/AutomatedThirdPartyBenchmarks

6. mail: linaro-android@linaro.org