blob: 44facfc0460fdd0ad50e9fc849e193f25e82f4d0 [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
27 timeout: {seconds: 300}
28
29context:
30 arch: arm
31 cpu: 'cortex-m33'
32 machine: mps2-an521
33 serial: '-serial mon:stdio'
34 vga: '-vga none'
35 memory: 16M
36 model: model=lan9118
37
38device_type: {{ device_type }}
39job_name: {{ job_name }}
40priority: medium
41timeouts:
42 action: {seconds: 300}
43 job: {seconds: 300}
44visibility: public
45
46metadata:
47 build_no: {{ build_no }}
48 compiler: {{ compiler }}
49 build_type: {{ build_type }}
50 boot_type: {{ boot_type }}
51 name: {{ name }}
52 platform: {{ platform }}
53 build_name: {{ build_name }}
54 build_job_url: {{ build_job_url }}
55