aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-03-24 11:15:57 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-03-24 11:16:00 +0530
commitbde83d53a4b1921913fb3b4266da8a93c8833898 (patch)
treeba2f2e3dcaae63824ca6e21bb96f35cd09251d3f
parent138764e8aab7500b7095c116c456171ddbdddd2d (diff)
hikey: android: add xtest only definition
This is needed to be run on AOSP TV build Change-Id: I903e1ffab5ac99b370eb528f53a7c3b6d7d23368 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--android/hikey/template-xtest.json71
1 files changed, 71 insertions, 0 deletions
diff --git a/android/hikey/template-xtest.json b/android/hikey/template-xtest.json
new file mode 100644
index 0000000..22bc563
--- /dev/null
+++ b/android/hikey/template-xtest.json
@@ -0,0 +1,71 @@
+{
+ "actions": [
+ {
+ "command": "deploy_linaro_android_image",
+ "metadata": {
+ "android.build": "%%ANDROID_META_BUILD%%",
+ "android.name": "%%ANDROID_META_NAME%%",
+ "android.url": "%%ANDROID_META_URL%%"
+ },
+ "parameters":
+ {
+ "images": [
+ {
+ "partition": "ptable",
+ "url": "http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img"
+ },
+ {
+ "partition": "boot",
+ "url": "%%DOWNLOAD_URL%%/boot_fat.uefi.img.xz"
+ },
+ {
+ "partition": "system",
+ "url": "%%ANDROID_SYSTEM%%"
+ },
+ {
+ "partition": "userdata",
+ "url": "%%ANDROID_DATA%%"
+ },
+ {
+ "partition": "cache",
+ "url": "%%ANDROID_CACHE%%"
+ }]
+ }
+ },
+ {
+ "command": "boot_linaro_android_image",
+ "parameters":
+ {
+ "test_image_prompt": "hikey:/",
+ "enable_network_after_boot_android": false,
+ "wait_for_home_screen": false
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "lava_test_dir": "/data/local/tmp/lava/xtest",
+ "lava_test_results_dir": "/local/tmp/lava/xtest",
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "android/optee-xtest.yaml"
+ }
+ ],
+ "timeout": 3600
+ }
+ },
+ {
+ "command": "submit_results",
+ "parameters": {
+ "server": "http://validation.linaro.org/RPC2/",
+ "stream": "/private/team/lmg/"
+ }
+ }
+ ],
+ "device_type": "hi6220-hikey",
+ "image_type": "android",
+ "priority": "high",
+ "job_name": "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-basic",
+ "timeout": 5400
+}