blob: dea8ac625631b50b96f3bb3b44b73bb87e2a7dbe [file] [log] [blame]
Fathi Boudra83e4f292020-12-04 22:33:40 +01001{#------------------------------------------------------------------------------
2# Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-----------------------------------------------------------------------------#}
7actions:
8- deploy:
9 images:
10 mcuboot: {image_arg: '-device loader,file={mcuboot},addr=0x10000000', url: '{{ bootloader_url }}'}
11 tfm: {image_arg: '-device loader,file={tfm},addr=0x10080000', url: '{{ firmware_url }}'}
12 timeout: {seconds: 100}
13 to: tmpfs
14- boot:
Fathi Boudra2abf97e2020-12-17 11:45:22 +010015 docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'}
Fathi Boudra83e4f292020-12-04 22:33:40 +010016 method: qemu
17 timeout: {seconds: 300}
18- test:
19 monitors:
20 - name: wait-finish
21 start: "Non-Secure system starting"
22 end: "End of Non-secure test suites"
23 pattern: "[\x1b]\\[37mTest suite '(?P<test_case_id>.*?)' has [\x1b]\\[32m (?P<result>PASSED|FAILED)"
24 fixupdict:
25 PASSED: pass
26 FAILED: fail
Paul Sokolovsky18f110e2022-01-31 23:45:43 +030027 SKIPPED: skip
Fathi Boudra83e4f292020-12-04 22:33:40 +010028 timeout: {seconds: 300}
29
30context:
31 arch: arm
32 cpu: 'cortex-m33'
33 machine: mps2-an521
34 serial: '-serial mon:stdio'
35 vga: '-vga none'
36 memory: 16M
37 model: model=lan9118
38
39device_type: {{ device_type }}
40job_name: {{ job_name }}
41priority: medium
42timeouts:
43 action: {seconds: 300}
44 job: {seconds: 300}
45visibility: public
46
47metadata:
48 build_no: {{ build_no }}
49 compiler: {{ compiler }}
50 build_type: {{ build_type }}
51 boot_type: {{ boot_type }}
52 name: {{ name }}
53 platform: {{ platform }}
54 build_name: {{ build_name }}
55 build_job_url: {{ build_job_url }}
56