-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix darwin YAML tests to use config variables more correctly. (#15199)
Still does not allow specifying an override value, but should not at least use the config defaults properly. Fixes #15192
- Loading branch information
1 parent
6ea126d
commit b9536c8
Showing
5 changed files
with
140 additions
and
126 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/darwin/Framework/CHIP/templates/partials/defined_value.zapt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{! If the defined value is the name of a config variable, just | ||
substitute the value of the variable instead. }} | ||
{{#if (chip_tests_config_has definedValue)~}} | ||
{{chip_tests_config_get_default_value definedValue}} | ||
{{~else~}} | ||
{{definedValue}} | ||
{{~/if}} |
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
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
Oops, something went wrong.