kernel_optimize_test/scripts/kconfig/tests
Masahiro Yamada f498926c47 kconfig: improve the recursive dependency report
This commit improves the messages of the recursive dependency.
Currently, sym->dir_dep.expr is not checked.  Hence, any dependency
in property visibility is regarded as the dependency of the symbol.

[Test Code 1]

  config A
          bool "a"
          depends on B

  config B
          bool "b"
          depends on A

[Test Code 2]

  config A
          bool "a" if B

  config B
          bool "b"
          depends on A

For both cases above, the same message is displayed:

        symbol B depends on A
        symbol A depends on B

This commit changes the message for the latter, like this:

        symbol B depends on A
        symbol A prompt is visible depending on B

Also, 'select' and 'imply' are distinguished.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Dirk Gouders <dirk@gouders.net>
2018-08-22 23:21:39 +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_dep kconfig: improve the recursive dependency report 2018-08-22 23:21:39 +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: make default prompt of mainmenu less specific 2018-05-29 03:31:19 +09:00
preprocess kconfig: test: add Kconfig macro language tests 2018-05-29 03:31:19 +09:00
rand_nested_choice kconfig: tests: test randconfig for choice in choice 2018-03-26 02:04:04 +09:00
conftest.py
pytest.ini