sanitycheck: refactor data parsing in script
Simplify parsing of yaml structures and remove usage of cp which was for the ConfigParser used for ini files. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
23f81eeb42
commit
255625b0a3
2 changed files with 26 additions and 36 deletions
|
@ -89,12 +89,9 @@ mapping:
|
|||
# maps maps, shall just be a sequence of maps
|
||||
# maybe it is just an artifact?
|
||||
"tests":
|
||||
type: seq
|
||||
required: yes
|
||||
sequence:
|
||||
- type: map
|
||||
matching-rule: "any"
|
||||
mapping:
|
||||
type: map
|
||||
matching-rule: "any"
|
||||
mapping:
|
||||
# The key for the testname is any, so
|
||||
# regex;(([a-zA-Z0-9_]+)) for this to work, note below we
|
||||
# make it required: no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue