summaryrefslogtreecommitdiff
path: root/automated/android/dd-wr-speed/dd-wr-speed.yaml
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-09-02 08:04:42 +0000
committerLinaro Code Review <review@review.linaro.org>2016-09-02 08:04:42 +0000
commitd805476cd80076ab2da02962b1f964748efd27bd (patch)
tree03f2671ed813e670719a59f60b6fdcc2c25c702d /automated/android/dd-wr-speed/dd-wr-speed.yaml
parent44023f46ae4b1a3579b480ed858abf1c6a9e100e (diff)
parentd469bcef58196c215a2c806014ab8c053d229f21 (diff)
Merge "v2: android: add dd write/read speed test"
Diffstat (limited to 'automated/android/dd-wr-speed/dd-wr-speed.yaml')
-rw-r--r--automated/android/dd-wr-speed/dd-wr-speed.yaml32
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