sanitycheck: support new simulation keyword
Some boards are supported natively by qemu. This option will allow us to run tests using those platforms directly without having to go via a dedicated qemu board definition. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
89c1ab6b18
commit
8acdbd796e
7 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
identifier: qemu_cortex_m3
|
||||
name: QEMU Emulation for Cortex-M3
|
||||
type: qemu
|
||||
simulation: qemu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
identifier: qemu_nios2
|
||||
name: QEMU Emulation for NIOS II
|
||||
type: qemu
|
||||
simulation: qemu
|
||||
arch: nios2
|
||||
toolchain:
|
||||
- zephyr
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
identifier: qemu_riscv32
|
||||
name: QEMU Emulation for RISC V
|
||||
type: qemu
|
||||
simulation: qemu
|
||||
arch: riscv32
|
||||
toolchain:
|
||||
- zephyr
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
identifier: qemu_x86
|
||||
name: QEMU Emulation for X86
|
||||
type: qemu
|
||||
simulation: qemu
|
||||
arch: x86
|
||||
toolchain:
|
||||
- zephyr
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
identifier: qemu_xtensa
|
||||
name: QEMU Emulation for Xtensa
|
||||
type: qemu
|
||||
simulation: qemu
|
||||
arch: xtensa
|
||||
toolchain:
|
||||
- zephyr
|
||||
|
|
|
@ -18,6 +18,9 @@ mapping:
|
|||
"type":
|
||||
type: str
|
||||
enum: [ 'mcu', 'qemu', 'sim', 'unit', 'native']
|
||||
"simulation":
|
||||
type: str
|
||||
enum: [ 'qemu', 'simics', 'xt-sim', 'renode']
|
||||
"arch":
|
||||
type: str
|
||||
"toolchain":
|
||||
|
|
|
@ -1247,9 +1247,10 @@ class Platform:
|
|||
for item in supp_feature.split(":"):
|
||||
self.supported.add(item)
|
||||
|
||||
self.qemu_support = True if data.get('type', "na") == 'qemu' else False
|
||||
self.qemu_support = True if data.get('simulation', "na") == 'qemu' else False
|
||||
self.arch = data['arch']
|
||||
self.type = data.get('type', "na")
|
||||
self.simulation = data.get('simulation', "na")
|
||||
self.supported_toolchains = data.get("toolchain", [])
|
||||
self.defconfig = None
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue