aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/err_recursive_inc/expected_stderr
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-13 18:12:12 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-26 02:04:05 +0900
commite2c75e7667c737148de6cdd522edf2163b4c61d3 (patch)
treea677f9e700354f0315161f271fbc9f37d9071af2 /scripts/kconfig/tests/err_recursive_inc/expected_stderr
parentkconfig: tests: test if recursive dependencies are detected (diff)
downloadlinux-dev-e2c75e7667c737148de6cdd522edf2163b4c61d3.tar.xz
linux-dev-e2c75e7667c737148de6cdd522edf2163b4c61d3.zip
kconfig: tests: test if recursive inclusion is detected
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>
Diffstat (limited to '')
-rw-r--r--scripts/kconfig/tests/err_recursive_inc/expected_stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/err_recursive_inc/expected_stderr b/scripts/kconfig/tests/err_recursive_inc/expected_stderr
new file mode 100644
index 000000000000..a15dbedd253a
--- /dev/null
+++ b/scripts/kconfig/tests/err_recursive_inc/expected_stderr
@@ -0,0 +1,5 @@
+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'