diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-10-05 18:29:21 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-10-05 20:17:58 +0100 |
commit | da42f0f046f5093e663ded6426531caf7ea5f295 (patch) | |
tree | c894d3b2172fb5bda0664438d637a77846ffd174 /android/cts-target.yaml | |
parent | 33d4e18e2daff630629aa9e63154182727be4dd7 (diff) |
Android: Multinode target side unification
CTS and lava-android-test shared almost the same target side YAML files.
This change merges both files into one and adds support for USB only
devices.
To preserve backward compatibility symilnks were created. These should
be considered as deprecated and will be removed after all templates are
migrated to new YAML files.
Change-Id: Ie47eefb2ee5d1872a96925d3d0ec72501ed8fd71
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'android/cts-target.yaml')
l---------[-rw-r--r--] | android/cts-target.yaml | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/android/cts-target.yaml b/android/cts-target.yaml index a742a7a..db27b47 100644..120000 --- a/android/cts-target.yaml +++ b/android/cts-target.yaml @@ -1,38 +1 @@ -metadata: - name: cts-target - format: "Lava-Test-Shell Test Definition 1.0" - description: "Run CTS on Linaro android. Target side. - The value put in params section in this file is default, user can overwrite them by the values in JSON file." - maintainer: - - milosz.wasilewski@linaro.org - os: - - android - devices: - - panda - - panda-es - - vexpress-a9 - - vexpress-tc2 - - juno - scope: - - functional - -params: - TEST_NAME: "android-cts-5.0-armv8" - - -run: - steps: - - lava-test-case step1-cat-build-info --shell cat /system/build.prop - - SERIALNO=$(getprop ro.serialno) - - IPADDR=$(getprop dhcp.eth0.ipaddress) - - if [ -z $IPADDR ]; then netcfg eth0 up; netcfg eth0 dhcp; IPADDR=$(getprop dhcp.eth0.ipaddress); fi - # if serial number exists it's preferred over IP based adb connection - # This means we're on 'usb only' device with WiFi connectivity - - if [ ! -z $SERIALNO ]; then IPADDR=$SERIALNO; fi - - if [ -z $SERIALNO ]; then lava-test-case step2-get-adb --shell getprop service.adb.tcp.port; fi - - if [ -z $SERIALNO ]; then lava-test-case step3-set-adb --shell setprop service.adb.tcp.port 5555; fi - - lava-test-case step3-set-adb --shell setprop service.adb.root 1 - - lava-test-case step4-stop-adbd --shell stop adbd - - lava-test-case step5-start-adbd --shell start adbd - - lava-test-case step6-send-ip --shell lava-send $TEST_NAME-send-ip ipaddr=$IPADDR - - lava-test-case step7-multinode-sync --shell lava-sync $TEST_NAME-finished +multinode-target.yaml
\ No newline at end of file |