-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/sdkconfig_rename_checker_first' into 'master'
Add sdkconfig.rename checker See merge request espressif/esp-idf-kconfig!56
- Loading branch information
Showing
8 changed files
with
155 additions
and
30 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
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/correct/correct_inversion.sdkconfig.rename
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,3 @@ | ||
# test if correct inversion is OK | ||
|
||
CONFIG_OLD !CONFIG_NEW |
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/correct/correct_prefix.sdkconfig.rename
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,3 @@ | ||
# test correct prefix (CONFIG_), in other words normal rename | ||
|
||
CONFIG_OLD CONFIG_NEW |
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/incorrect/only_one_name.sdkconfig.rename
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,3 @@ | ||
# Only one name | ||
|
||
CONFIG_OLD |
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/incorrect/wrong_inversion.sdkconfig.rename
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,3 @@ | ||
# Test correct placement of inversion operator | ||
|
||
!CONFIG_OLD CONFIG_NEW |
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/suggestions/only_one_name.sdkconfig.rename.suggestions
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,3 @@ | ||
# Only one name | ||
|
||
CONFIG_OLD |
3 changes: 3 additions & 0 deletions
3
test/kconfcheck/sdkconfigs/suggestions/wrong_inversion.sdkconfig.rename.suggestions
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,3 @@ | ||
# Test correct placement of inversion operator | ||
|
||
CONFIG_OLD !CONFIG_NEW |
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