summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-06-23 10:35:01 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2016-06-23 22:36:56 +0800
commit179bec01be4cfe724a78d1e41868bdcf90763dba (patch)
tree6a6c36793c525b870e3c799f4f07dcdfe05c9745 /android
parent5d09e9c8d62c8876f1a33fe7198df555d0dd52bc (diff)
android/multinode-target.yaml: avoid test case id generation
this way lava will not generate tag <LAVA_SIGNAL_, and it will not be broken by the output of echo LAVA_ACK Change-Id: If55d5593fe97d6f6fb9363d57f21bafcc1fb4d3b Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'android')
-rw-r--r--android/multinode-target.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/android/multinode-target.yaml b/android/multinode-target.yaml
index 0243947..8ad81eb 100644
--- a/android/multinode-target.yaml
+++ b/android/multinode-target.yaml
@@ -40,13 +40,13 @@ run:
- fi
- if [ $ADB_LINK = "ETH" ] && [ ! -z $IPADDR ]
- then
+ - cat /proc/sys/kernel/printk > /data/local/tmp/kmsg_levels
+ - echo '1 1 1 1' > /proc/sys/kernel/printk
- lava-test-case step2-get-adb --shell getprop service.adb.tcp.port
- lava-test-case step3-set-adb --shell setprop service.adb.tcp.port 5555
- lava-test-case step4-set-adb-root --shell setprop service.adb.root 1
- - lava-test-case step5-capture-kmsg-levels --shell 'cat /proc/sys/kernel/printk > /data/local/tmp/kmsg_levels'
- - lava-test-case step6-disable-kmsg --shell echo '1 1 1 1' > /proc/sys/kernel/printk
- - lava-test-case step7-stop-adbd --shell stop adbd
- - lava-test-case step8-start-adbd --shell start adbd
+ - lava-test-case step5-stop-adbd --shell stop adbd
+ - lava-test-case step6-start-adbd --shell start adbd
- ping_count=0
- while ! LC_ALL=C ping -W1 -c1 ${LAVA_SERVER_IP} ; do
- sleep 1; ping_count=$((ping_count + 1)); [ ${ping_count} -ge ${PING_TIMEOUT} ] && exit 1
@@ -57,11 +57,11 @@ run:
# if there is no serial number or IP address available, _MISSING_ is passed to the host
- IPADDR="_MISSING_"
- fi
- - lava-test-case step9-send-ip --shell lava-send $TEST_NAME-send-ip ipaddr=$IPADDR
+ - lava-test-case step7-send-ip --shell lava-send $TEST_NAME-send-ip ipaddr=$IPADDR
- if [ -f /data/local/tmp/kmsg_levels ]
- then
- - lava-test-case step10-enable-kmsg --shell 'cat /data/local/tmp/kmsg_levels > /proc/sys/kernel/printk'
+ - lava-test-case step8-enable-kmsg --shell 'cat /data/local/tmp/kmsg_levels > /proc/sys/kernel/printk'
- fi
# sleep here to allow for output of kernel messages
- sleep 10
- - lava-test-case step11-multinode-sync --shell lava-sync $TEST_NAME-finished
+ - lava-test-case step9-multinode-sync --shell lava-sync $TEST_NAME-finished