diff options
author | Chase Qi <chase.qi@linaro.org> | 2016-08-26 14:47:16 +0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-08-30 10:52:12 +0000 |
commit | 3d1bc8474e38b17ae4ee1660c2a2fc0edf023961 (patch) | |
tree | 95770a02fe983c4f7852ad0d0fb6c848e269dbe0 /automated/linux/dd-wr-speed/dd-wr-speed.yaml | |
parent | e015c4e850666f84fb3ddecd09cca706aa0432e8 (diff) |
v2: linux: add dd write/read speed test
- Added Linux dd write/read speed test
- Optimized sh-test-lib
Change-Id: I3bccfda212535e9a36b8e231b69c0dd2367a88f6
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/linux/dd-wr-speed/dd-wr-speed.yaml')
-rw-r--r-- | automated/linux/dd-wr-speed/dd-wr-speed.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/automated/linux/dd-wr-speed/dd-wr-speed.yaml b/automated/linux/dd-wr-speed/dd-wr-speed.yaml new file mode 100644 index 0000000..ae9a1d2 --- /dev/null +++ b/automated/linux/dd-wr-speed/dd-wr-speed.yaml @@ -0,0 +1,35 @@ +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" + SKIP_INSTALL: "false" + +run: + steps: + - cd ./automated/linux/dd-wr-speed + - ./dd-wr-speed.sh -p "${PARTITION}" -t "${FS_TYPE}" -i "${ITERATION}" -s "${SKIP_INSTALL}" + - ../../utils/send-to-lava.sh ./output/result.txt |