Skip to contentSkip to conversation

kconfig: Add some new macros

PATCH New Simon Glass 1 participant 1 message Aug 1, 2022

lore
Share & tools
lore
#0 lore raw

v5 cover kconfig: Add some new macros

This series adds a few more macros to kconfig, along with a bit of refactoring of what is there.

It also adds some basic tests for the kconfig macros.

Finally, to make the tests work, it enhances buildman to support changing CONFIG options on the fly when building.

Changes in v5:
- Correct a problem with azure not supporting buildman's parent directory
- Don't run the tests on sandbox_vpl

Changes in v4:
- Expand the series with tests and buildman changes

Simon Glass (1):
test: Add some tests for kconfig.h

 test/Kconfig                  |  3 +-
 test/Makefile                 |  4 ++-
 test/lib/Kconfig              | 23 ++++++++++++++
 test/lib/Makefile             |  5 +++
 test/lib/kconfig.c            | 58 +++++++++++++++++++++++++++++++++++
 test/lib/kconfig_spl.c        | 44 ++++++++++++++++++++++++++
 test/py/tests/test_kconfig.py | 39 +++++++++++++++++++++++
 7 files changed, 174 insertions(+), 2 deletions(-)
 create mode 100644 test/lib/Kconfig
 create mode 100644 test/lib/kconfig.c
 create mode 100644 test/lib/kconfig_spl.c
 create mode 100644 test/py/tests/test_kconfig.py
Signature · 1 line
2.37.1.455.g008518b4e5-goog