WSL2-Linux-Kernel/scripts/kconfig/tests
Masahiro Yamada 8dde5715b2 kconfig: tests: fix recursive inclusion unit test
Adding SPDX license identifier is pretty safe; however, here is one
exception.

Since commit ec8f24b7fa ("treewide: Add SPDX license identifier -
Makefile/Kconfig"), "make testconfig" would not pass.

When Kconfig detects a circular file inclusion, it displays error
messages with a file name and a line number prefixed to each line.

The unit test checks if Kconfig emits the error messages correctly
(this also checks the line number correctness).

Now that the test input has the SPDX license identifier at the very top,
the line numbers in the expected stderr should be incremented by 1.

Fixes: ec8f24b7fa ("treewide: Add SPDX license identifier - Makefile/Kconfig")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-06-05 02:33:10 +09:00
..
auto_submenu kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
choice kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
choice_value_with_m_dep kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
err_recursive_dep kconfig: improve the recursive dependency report 2018-08-22 23:21:39 +09:00
err_recursive_inc kconfig: tests: fix recursive inclusion unit test 2019-06-05 02:33:10 +09:00
inter_choice kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
new_choice_with_dep kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
no_write_if_dep_unmet kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
preprocess kconfig: test: add Kconfig macro language tests 2018-05-29 03:31:19 +09:00
rand_nested_choice kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
conftest.py kconfig: tests: add framework for Kconfig unit testing 2018-03-26 02:04:01 +09:00
pytest.ini kconfig: tests: add framework for Kconfig unit testing 2018-03-26 02:04:01 +09:00