aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-03-07 17:13:24 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2017-03-07 17:13:24 +0200
commitfb4a823e39697784efc529c6102d4002f58abbeb (patch)
treebf72223158cd042e9477df5b2ebb4763191d39d3
parentb8f8caf392c4ff916590682aa05aae197fe39f57 (diff)
zephyr-updatream: submit lava jobs to frdm-k64f
Change-Id: I47fb107c6f674abfe88104971ac27e3279819d5d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--zephyr-upstream-arm.yaml3
-rw-r--r--zephyr-upstream.yaml3
-rw-r--r--zephyr-upstream/lava-job-definitions/frdm-k64f/task-api-test.yaml47
3 files changed, 53 insertions, 0 deletions
diff --git a/zephyr-upstream-arm.yaml b/zephyr-upstream-arm.yaml
index 25f424eceb..526102b28a 100644
--- a/zephyr-upstream-arm.yaml
+++ b/zephyr-upstream-arm.yaml
@@ -98,6 +98,9 @@
arduino_101)
export DEVICE_TYPE=arduino101
;;
+ frdm_k64f)
+ export DEVICE_TYPE=frdm-k64f
+ ;;
qemu_cortex_m3)
export DEVICE_TYPE=qemu
;;
diff --git a/zephyr-upstream.yaml b/zephyr-upstream.yaml
index ae91aa8770..0a0820b769 100644
--- a/zephyr-upstream.yaml
+++ b/zephyr-upstream.yaml
@@ -98,6 +98,9 @@
arduino_101)
export DEVICE_TYPE=arduino101
;;
+ frdm_k64f)
+ export DEVICE_TYPE=frdm-k64f
+ ;;
qemu_cortex_m3)
export DEVICE_TYPE=qemu
;;
diff --git a/zephyr-upstream/lava-job-definitions/frdm-k64f/task-api-test.yaml b/zephyr-upstream/lava-job-definitions/frdm-k64f/task-api-test.yaml
new file mode 100644
index 0000000000..5f94c17e47
--- /dev/null
+++ b/zephyr-upstream/lava-job-definitions/frdm-k64f/task-api-test.yaml
@@ -0,0 +1,47 @@
+# Zephyr JOB definition for frdm-k64f
+device_type: '${DEVICE_TYPE}'
+job_name: 'zephyr-upstream kernel-task-api-test'
+
+timeouts:
+ job:
+ minutes: 6
+ action:
+ minutes: 3
+ actions:
+ wait-usb-device:
+ seconds: 40
+
+priority: medium
+visibility: public
+
+actions:
+- deploy:
+ timeout:
+ minutes: 3
+ to: tmpfs
+ images:
+ zephyr:
+ url: 'http://snapshots.linaro.org/components/kernel/zephyr/${BRANCH}/${ZEPHYR_GCC_VARIANT}/${PLATFORM}/${BUILD_NUMBER}/tests/legacy/kernel/test_task/test/zephyr.bin'
+
+- boot:
+ method: cmsis-dap
+ timeout:
+ minutes: 10
+
+- test:
+ monitors:
+ - name: Test Microkernel Task API
+ start: tc_start()
+ end: PROJECT EXECUTION
+ pattern: (?P<result>(PASS|FAIL))\s-\s(?P<test_case_id>\w+)
+ fixupdict:
+ PASS: pass
+ FAIL: fail
+
+metadata:
+ build-url: ${BUILD_URL}
+ build-log: ${BUILD_URL}consoleText
+ zephyr-gcc-variant: ${ZEPHYR_GCC_VARIANT}
+ platform: ${PLATFORM}
+ git-url: https://git.linaro.org/zephyrproject-org/zephyr.git
+ git-commit: ${GIT_COMMIT}