1
0
Fork 0
alistair23-linux/scripts/kconfig/tests
Masahiro Yamada 32a94b8b0c kconfig: remove duplicated file name and lineno of recursive inclusion
As in the unit test, the error message for the recursive inclusion
looks like this:

  Kconfig.inc1:4: recursive inclusion detected. Inclusion path:
    current file : 'Kconfig.inc1'
    included from: 'Kconfig.inc3:1'
    included from: 'Kconfig.inc2:3'
    included from: 'Kconfig.inc1:4'

The 'Kconfig.inc1:4' is duplicated in the first and last lines.
Also, the single quotes do not help readability.

Change the message like follows:

  Recursive inclusion detected.
  Inclusion path:
    current file : Kconfig.inc1
    included from: Kconfig.inc3:1
    included from: Kconfig.inc2:3
    included from: Kconfig.inc1:4

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-03-26 02:04:06 +09:00
..
auto_submenu kconfig: tests: test automatic submenu creation 2018-03-26 02:04:02 +09:00
choice kconfig: tests: add basic choice tests 2018-03-26 02:04:02 +09:00
choice_value_with_m_dep kconfig: tests: check visibility of tristate choice values in y choice 2018-03-26 02:04:03 +09:00
err_recursive_inc kconfig: remove duplicated file name and lineno of recursive inclusion 2018-03-26 02:04:06 +09:00
inter_choice kconfig: tests: test defconfig when two choices interact 2018-03-26 02:04:04 +09:00
new_choice_with_dep kconfig: tests: test if new symbols in choice are asked 2018-03-26 02:04:03 +09:00
no_write_if_dep_unmet kconfig: tests: check unneeded "is not set" with unmet dependency 2018-03-26 02:04:03 +09:00
rand_nested_choice kconfig: tests: test randconfig for choice in choice 2018-03-26 02:04:04 +09:00
warn_recursive_dep kconfig: tests: test if recursive dependencies are detected 2018-03-26 02:04:04 +09:00
conftest.py
pytest.ini