aboutsummaryrefslogtreecommitdiff
path: root/wa2host.yaml
blob: e54846f3bd57ea10fde7b68f2a5499071cd00153 (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
26
27
28
29
30
31
32
metadata:
    format: Lava-Test Test Definition 1.0
    name: wa2-host
    description: "WAv2 - host part of multinode job"
    maintainer:
        - milosz.wasilewski@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - kvm

params:
    AGENDA: "hmp_audio.yaml"
    JOB_NAME: "workload-automation"
    MODE: "mp"
    SIGNAL_PREFIX: "workload"

run:
    steps:
        - lava-test-case step1-mkdir-templates --shell mkdir templates
        - lava-test-case step2-copy-templates --shell cp /root/templates/* templates/
        - lava-test-case step3-prepare-agenda --shell ./prepare-agenda.py --agenda $AGENDA --job-name $JOB_NAME
        - lava-test-case step4-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip
        - lava-test-case step5-kill-adb-server --shell adb kill-server
        - lava-test-case step6-start-adb-server --shell adb start-server
        - lava-test-case step7-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX
        - lava-test-case step8-prepare-device --shell ./prepare-device.sh $MODE
        - lava-test-case step9-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
        - lava-test-case step10-tear-down --shell ./tear-down.sh $JOB_NAME
        - lava-test-case step11-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished