summaryrefslogtreecommitdiff
path: root/common/dd-speed-test.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2016-08-05 14:58:27 +0800
committerChase Qi <chase.qi@linaro.org>2016-08-08 20:59:26 +0800
commitf6eca3dd9986995047f6d5813c3c7d81692df554 (patch)
treec5ce05ccb4eecf2cc0b43020f3fe7b5676b3d0cb /common/dd-speed-test.yaml
parentc2db176f4977a46a8873af8a340a8b9d4228e350 (diff)
downloadtest-definitions-pipe-f6eca3dd9986995047f6d5813c3c7d81692df554.tar.gz
common: add dd write/read speed test
Change-Id: Icffb4b39b26fe12effb2c472273d6952ef5192a9 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'common/dd-speed-test.yaml')
-rwxr-xr-xcommon/dd-speed-test.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/dd-speed-test.yaml b/common/dd-speed-test.yaml
new file mode 100755
index 0000000..0bbbf0a
--- /dev/null
+++ b/common/dd-speed-test.yaml
@@ -0,0 +1,33 @@
+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:
+ - debian
+ - fedora
+ devices:
+ - mustang
+ - hi6220-hikey
+ - apq8016-sbc
+ scope:
+ - performance
+ environment:
+ - lava-test-shell
+
+params:
+ # The currenty working directory will be used by default.
+ # Use '-p' specify partition that used for dd test.
+ # Example: /dev/sdb1
+ PARTITION: ""
+ # CAUTION: if FS_TYPE not equal to the existing fs type of the partition
+ # specified with '-p', the partition will be formatted.
+ FS_TYPE: ""
+ # You may need to run dd test 4-5 times for an accurate evaluation.
+ ITERATION: "5"
+
+run:
+ steps:
+ - ./common/scripts/dd-speed-test.sh -p "${PARTITION}" -t "${FS_TYPE}" -i "${ITERATION}"
+ - ./common/scripts/send-to-lava.sh "result.txt"