twister: change schema of platform_type to follow type

The `platform_type` was created to filter `type` so they
should have the same schema.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2023-12-13 15:06:07 +08:00 committed by Anas Nashif
commit 2bd0c8c552

View file

@ -145,6 +145,7 @@ mapping:
required: false
sequence:
- type: str
enum: ["mcu", "qemu", "sim", "unit", "native"]
"platform_key":
required: false
type: seq