forked from robherring/dt-schema
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-validate: Add an 'only matching compatible' schema validation mode
Add an 'only matching compatible' schema validation mode which only applies the schema matching nodes' compatible string. Currently, only the most specific (i.e. 1st) compatible string in the instance is used, but that may change in the future. This mode tends to be 4x faster (on top of the recent 6-7x speed up) while still giving 80-90% of the warnings. Mostly the core schemas are skipped. Signed-off-by: Rob Herring <[email protected]>
- Loading branch information
1 parent
dc5e8d9
commit 64b72b0
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters