summaryrefslogtreecommitdiff
path: root/automated/linux/badblocks/badblocks.yaml
blob: 99eec2f65a13ad8d8b5b85ba87112e9d7b6ebb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
metadata:
    name: badblocks
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Run a read-only test for bad blocks"
    maintainer:
        - ryan.harkin@linaro.org
    os:
        - openembedded
        - debian
    scope:
        - functional
    devices:
        - imx7s-warp
        - sun8i-h2-plus-bananapi-m2-zero

parameters:
    BLOCK_DEVICE: 'default'
    BADBLOCKS_PARAMS: ''
    SKIP_INSTALL: "False"

run:
    steps:
        - cd ./automated/linux/badblocks/
        - ./badblocks.sh -b "${BLOCK_DEVICE}" -p "${BADBLOCKS_PARAMS}" -s "${SKIP_INSTALL}"
        - ../../utils/send-to-lava.sh ./output/result.txt