From 78a741f1b43b93b164bfab417aa0c08120150d43 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 21 Feb 2023 21:30:30 +0000 Subject: [PATCH] twister: schema: make tests a required key Catch any test definitions not defining any tests. Signed-off-by: Anas Nashif --- scripts/schemas/twister/testsuite-schema.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/schemas/twister/testsuite-schema.yaml b/scripts/schemas/twister/testsuite-schema.yaml index 8ceb299c431..e7777a0ad5f 100644 --- a/scripts/schemas/twister/testsuite-schema.yaml +++ b/scripts/schemas/twister/testsuite-schema.yaml @@ -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