summaryrefslogtreecommitdiff
path: root/automated/android/dd-wr-speed/dd-wr-speed.yaml
diff options
context:
space:
mode:
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