twister: schema: make tests a required key

Catch any test definitions not defining any tests.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-02-21 21:30:30 +00:00
commit 78a741f1b4

View file

@ -161,6 +161,7 @@ mapping:
# maybe it is just an artifact?
"tests":
type: map
required: true
matching-rule: "any"
mapping:
# The key for the testname is any, so