twister: use enum for the `arch` field in Twister platform schema

This commit adds an enum to the `arch` field of the Twister platform
schema. This helps better filter boards for testcases which use
architecture-based filters, and helps maintain uniformity in naming
convetion.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
Filip Kokosinski 2024-03-14 13:27:53 +01:00 committed by Anas Nashif
parent cb99303dd4
commit 053e5f93ac
1 changed files with 17 additions and 0 deletions

View File

@ -41,6 +41,23 @@ mapping:
type: str
"arch":
type: str
enum:
[
# architectures
"arc",
"arm",
"arm64",
"mips",
"nios2",
"posix",
"riscv",
"sparc",
"x86",
"xtensa",
# unit testing
"unit",
]
"vendor":
type: str
"tier":