diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-02-03 01:45:20 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-02-03 01:45:20 +0530 |
commit | 83b922db190f2903a16aebbebd3b2fb0aa928424 (patch) | |
tree | 2582b46ffd4488c434b79b1b9eb9c2b472663240 | |
parent | c6088e4ac855a0c1043a14eba5027f457113a3aa (diff) |
lava-group: test
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r-- | wa2host-juno.yaml | 15 | ||||
-rw-r--r-- | wa2target-juno.yaml | 11 |
2 files changed, 9 insertions, 17 deletions
diff --git a/wa2host-juno.yaml b/wa2host-juno.yaml index fa364a5..8912490 100644 --- a/wa2host-juno.yaml +++ b/wa2host-juno.yaml @@ -19,13 +19,8 @@ params: run: steps: - - lava-test-case step1-$SIGNAL_PREFIX-copy-templates --shell cp /root/templates/config-juno.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-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX - - lava-test-case step5-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE - - 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 + - lava-test-case step1-$SIGNAL_PREFIX-lava-group --shell HOST_DEVICE=`lava-group host` + - lava-test-case step2-$SIGNAL_PREFIX-lava-group --shell echo $HOST_DEVICE + - lava-test-case step3-$SIGNAL_PREFIX-lava-group --shell TARGET_DEVICE=`lava-group target` + - lava-test-case step4-$SIGNAL_PREFIX-lava-group --shell echo $TARGET_DEVICE + - lava-test-case step4-$SIGNAL_PREFIX-lava-group --shell `lava-group` diff --git a/wa2target-juno.yaml b/wa2target-juno.yaml index 4f3c826..424acbe 100644 --- a/wa2target-juno.yaml +++ b/wa2target-juno.yaml @@ -16,11 +16,8 @@ params: run: steps: - - lava-test-case step1-$SIGNAL_PREFIX-cat-build-info --shell cat /system/build.prop - - lava-test-case step2-$SIGNAL_PREFIX-get-adb --shell getprop service.adb.tcp.port - - lava-test-case step3-$SIGNAL_PREFIX-set-adb --shell setprop service.adb.tcp.port 5555 - - lava-test-case step4-$SIGNAL_PREFIX-stop-adbd --shell stop adbd - - lava-test-case step5-$SIGNAL_PREFIX-start-adbd --shell start adbd - - lava-test-case step6-$SIGNAL_PREFIX-send-ip --shell lava-send $SIGNAL_PREFIX-send-ip $SIGNAL_PREFIX-ipaddr=$(getprop dhcp.eth0.ipaddress) - - lava-test-case step7-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished + - lava-test-case step1-$SIGNAL_PREFIX-lava-group --shell HOST_DEVICE=`lava-group host` + - lava-test-case step2-$SIGNAL_PREFIX-lava-group --shell echo $HOST_DEVICE + - lava-test-case step3-$SIGNAL_PREFIX-lava-group --shell TARGET_DEVICE=`lava-group target` + - lava-test-case step4-$SIGNAL_PREFIX-lava-group --shell echo $TARGET_DEVICE |