diff options
author | Chase Qi <chase.qi@linaro.org> | 2016-08-31 11:57:26 +0800 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2016-09-01 16:26:23 +0800 |
commit | d469bcef58196c215a2c806014ab8c053d229f21 (patch) | |
tree | f86f9fddbb7aeab39ff5db43201f6552c593328b /automated/android/dd-wr-speed/dd-wr-speed.yaml | |
parent | 3d1bc8474e38b17ae4ee1660c2a2fc0edf023961 (diff) |
v2: android: add dd write/read speed test
Change-Id: Ia25948fa61f368da49ade20b315591301bf65071
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/android/dd-wr-speed/dd-wr-speed.yaml')
-rw-r--r-- | automated/android/dd-wr-speed/dd-wr-speed.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/automated/android/dd-wr-speed/dd-wr-speed.yaml b/automated/android/dd-wr-speed/dd-wr-speed.yaml new file mode 100644 index 0000000..f7b59f1 --- /dev/null +++ b/automated/android/dd-wr-speed/dd-wr-speed.yaml @@ -0,0 +1,32 @@ +metadata: + name: dd-speed-test + format: "Lava-Test-Shell Test Definition 1.0" + description: "dd write/read speed test." + maintainer: + - chase.qi@linaro.org + os: + - android + devices: + - hi6220-hikey + - apq8016-sbc + scope: + - performance + environment: + - lava-test-shell + - local-test-runner + +params: + # /data partition will be tested by default. + # Use '-p' specify partition. Example "/dev/block/mmcblk1p1" + PARTITION: "" + # You may need to run dd test 4-5 times for an accurate evaluation. + ITERATION: "5" + # Specify device serial number for adb connection if more than one device + # connected. + SN: "" + +run: + steps: + - cd ./automated/android/dd-wr-speed + - ./dd-wr-speed.sh -p "${PARTITION}" -i "${ITERATION}" -s "${SN}" + - ../../utils/send-to-lava.sh ./output/result.txt |