aboutsummaryrefslogtreecommitdiff
path: root/zephyr-upstream/lava-job-definitions/qemu/ring-buffer-test.yaml
blob: 92319431be369335ceb10cab5de334033d250c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Zephyr JOB definition for QEMU
device_type: '${DEVICE_TYPE}'
job_name: 'zephyr-upstream kernel-ring-buffers-test'

timeouts:
  job:
    minutes: 6
  action:
    minutes: 2
priority: medium
visibility: public

context:
  arch: arm
  cpu: cortex-m3
  machine: lm3s6965evb
  model: 'model=stellaris'
  serial: '-serial mon:stdio'
  vga: '-vga none'

actions:
- deploy:
    timeout:
      minutes: 3
    to: tmpfs
    type: monitor
    images:
        zephyr:
          image_arg: '-kernel {zephyr}'
          url: 'http://snapshots.linaro.org/components/kernel/zephyr/${ZEPHYR_GCC_VARIANT}/${PLATFORM}/${BUILD_NUMBER}/tests/kernel/test_ring_buf/test/zephyr.bin'

- boot:
    method: monitor
    timeout:
      minutes: 2

- test:
    monitors:
    - name: Test Ring Buffers
      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}