]> git.baikalelectronics.ru Git - uboot.git/commit
test: Add some tests for kconfig.h
authorSimon Glass <sjg@chromium.org>
Mon, 1 Aug 2022 13:57:59 +0000 (07:57 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 10 Aug 2022 17:38:30 +0000 (13:38 -0400)
commit50dceb7f6545747404a73793a724b327b8270b4f
treedec2e9893799a112503202ba10c871dc68bb1aad
parent93c34db88709c149bb06b5333eff55f7f79d9ced
test: Add some tests for kconfig.h

The macros in this file are a little confusing and we currently have no
tests to check that they work as expected.

Add some tests which check the macros in C code. Add a few tests which
check that the build errors are generated correctly too, using buildman's
-a option.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/Kconfig
test/Makefile
test/lib/Kconfig [new file with mode: 0644]
test/lib/Makefile
test/lib/kconfig.c [new file with mode: 0644]
test/lib/kconfig_spl.c [new file with mode: 0644]
test/py/tests/test_kconfig.py [new file with mode: 0644]