summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/err_recursive_inc/expected_stderr
Commit message (Collapse)AuthorAgeFilesLines
* kconfig: remove duplicated file name and lineno of recursive inclusionMasahiro Yamada2018-03-261-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* kconfig: tests: test if recursive inclusion is detectedMasahiro Yamada2018-03-261-0/+5
If recursive inclusion is detected, it should fail with error messages. Test this. This also tests the line numbers in the error message, fixed by commit 5ae6fcc4bb82 ("kconfig: fix line number in recursive inclusion error message"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
OpenPOWER on IntegriCloud