aboutsummaryrefslogtreecommitdiff
path: root/wa2host.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'wa2host.yaml')
-rw-r--r--wa2host.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/wa2host.yaml b/wa2host.yaml
index 293e92f..62cc493 100644
--- a/wa2host.yaml
+++ b/wa2host.yaml
@@ -14,7 +14,8 @@ metadata:
params:
AGENDA: "hmp_audio.yaml"
JOB_NAME: "workload-automation"
- MODE: "mp"
+ MODE: "hmp"
+ DEVICE: ""
SIGNAL_PREFIX: "workload"
run:
@@ -22,12 +23,10 @@ run:
- lava-test-case step1-$SIGNAL_PREFIX-copy-templates --shell cp /root/templates/config.py templates/
- lava-test-case step2-$SIGNAL_PREFIX-prepare-agenda --shell ./prepare-agenda.py --agenda $AGENDA --job-name $JOB_NAME
- lava-test-case step3-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip
- - lava-test-case step4-$SIGNAL_PREFIX-kill-adb-server --shell adb kill-server
- - lava-test-case step5-$SIGNAL_PREFIX-start-adb-server --shell adb start-server
- - lava-test-case step6-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX
- - lava-test-case step7-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE
- - lava-test-case step8-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
- - if [ -f ./$JOB_NAME/results.csv ]; then lava-test-case-attach step8-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/results.csv; fi
+ - lava-test-case step4-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX
+ - lava-test-case step5-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE $DEVICE
+ - lava-test-case step6-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
+ - if [ -f ./$JOB_NAME/results.csv ]; then lava-test-case-attach step7-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/results.csv; fi
- if [ -f ./$JOB_NAME/run.log ]; then lava-test-case-attach step8-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/run.log; fi
- lava-test-case step9-$SIGNAL_PREFIX-tear-down --shell ./tear-down.sh $JOB_NAME
- lava-test-case step10-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished