diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-03-20 14:19:09 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-03-20 14:19:09 +0000 |
commit | b32c7aad5fb0eac8a802f1932626a728639a7ddb (patch) | |
tree | 675fc0d8bced3a7aa157ffddbf8642ef113be002 | |
parent | b22fd335708d95c9d787d1b4a7ef4fdb097addb4 (diff) |
added device mode preparation
-rwxr-xr-x | prepare-device.sh | 19 | ||||
-rw-r--r-- | wa2multi.json | 285 |
2 files changed, 302 insertions, 2 deletions
diff --git a/prepare-device.sh b/prepare-device.sh index 4e4faca..b816dfe 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -1,4 +1,23 @@ #!/bin/bash echo "Preparing device for mode: $1" + +if [ $1 == 'mp' ] +then + # disable IKS + IPADDR=`cat IPADDR` + echo "Disable IKS for $IPADDR" + adb connect $IPADDR:5555 + adb -s $IPADDR:5555 shell "echo 0 > /sys/kernel/bL_switcher/active" +fi + +if [ $1 == 'iks' ] +then + # enable IKS + IPADDR=`cat IPADDR` + echo "Enable IKS for $IPADDR" + adb connect $IPADDR:5555 + adb -s $IPADDR:5555 shell "echo 1 > /sys/kernel/bL_switcher/active" +fi + exit 0 diff --git a/wa2multi.json b/wa2multi.json index f290b7e..d2e9bc4 100644 --- a/wa2multi.json +++ b/wa2multi.json @@ -1,8 +1,8 @@ { "health_check": false, "logging_level": "INFO", - "timeout": 6600, - "job_name": "WAv2 multi node", + "timeout": 18000, + "job_name": "WAv2 HMP audio, bbench+audio, 5 iterations", "device_group": [ { "role": "host", @@ -108,6 +108,287 @@ } }, { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-audio-iter3" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-audio-iter3" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-audio-iter4" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-audio-iter4" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-audio-iter5" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-audio-iter5" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_bbench_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-bbench-audio-iter1" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-bbench-audio-iter1" + } + + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_bbench_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-bbench-audio-iter2" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-bbench-audio-iter2" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_bbench_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-bbench-audio-iter3" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-bbench-audio-iter3" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_bbench_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-bbench-audio-iter4" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-bbench-audio-iter4" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2host.yaml", + "parameters": { + "AGENDA": "hmp_bbench_audio.yaml", + "JOB_NAME": "hmp_multinode_experiment1", + "MODE": "mp", + "SIGNAL_PREFIX": "hmp-bbench-audio-iter5" + } + } + ], + "timeout": 4200, + "role": "host" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/milosz.wasilewski/wa2-lava.git", + "testdef": "wa2target.yaml", + "parameters": { + "SIGNAL_PREFIX": "hmp-bbench-audio-iter5" + } + } + ], + "timeout": 2400, + "role": "target" + } + }, + { "command": "submit_results_on_host", "parameters": { "stream": "/anonymous/mwasilew/", |