diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2014-10-01 13:36:36 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2014-10-01 13:36:36 +0530 |
commit | 935b248e87a7a79f08c21b740dab67b087e6bb45 (patch) | |
tree | dec9ceaaaa07244f722571b8a0c9aad2859f8a87 |
Adding new test cases big.LITTLE host and target
Adding two files
- bLhost.yaml
- bLtarget.yaml
These tests run from KVM and vexpress-tc2.
KVM act as host machine and vexpress-tc2 is target device running android.
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r-- | bLhost.yaml | 32 | ||||
-rw-r--r-- | bLtarget.yaml | 26 |
2 files changed, 58 insertions, 0 deletions
diff --git a/bLhost.yaml b/bLhost.yaml new file mode 100644 index 0000000..4346999 --- /dev/null +++ b/bLhost.yaml @@ -0,0 +1,32 @@ +metadata: + format: Lava-Test Test Definition 1.0 + name: bL-host + description: "big.LITTLE - host part of multinode job" + maintainer: + - naresh.kamboju@linaro.org + os: + - ubuntu + scope: + - functional + devices: + - kvm + +params: + AGENDA: "iks" + JOB_NAME: "big.LITTLE-tests" + SIGNAL_PREFIX: "big.LITTLE-test" + +run: + steps: + - lava-test-case step1-$SIGNAL_PREFIX-chdir-test --shell cd /root/$AGENDA + - lava-test-case step2-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip + - lava-test-case step3-$SIGNAL_PREFIX-kill-adb-server --shell adb kill-server + - lava-test-case step4-$SIGNAL_PREFIX-start-adb-server --shell adb start-server + - lava-test-case step5-$SIGNAL_PREFIX-remount-adb-server --shell adb remount + - lava-test-case step6-$SIGNAL_PREFIX-push-adb-server --shell adb push data /data/ + - lava-test-case step7-$SIGNAL_PREFIX-push-adb-server --shell adb push system /system/ + - lava-test-case step8-$SIGNAL_PREFIX-run-test --shell ./run_tests.sh 2>&1 | tee big.LITTLE-result.txt + - lava-test-case-attach step8-$SIGNAL_PREFIX-run-test ./big.LITTLE-result.txt + - lava-test-run-attach big.LITTLE-result.txt text/plain + - lava-test-case step9-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished + diff --git a/bLtarget.yaml b/bLtarget.yaml new file mode 100644 index 0000000..2a71d7c --- /dev/null +++ b/bLtarget.yaml @@ -0,0 +1,26 @@ +metadata: + format: Lava-Test Test Definition 1.0 + name: bL-target + description: "big.LITTLE - target part of multinode job" + maintainer: + - naresh.kamboju@linaro.org + os: + - android + scope: + - functional + devices: + - vexpress-tc2 + +params: + SIGNAL_PREFIX: "big.LITTLE-test" + +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 + |