summaryrefslogtreecommitdiff
path: root/tests/Krecursive2
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-17 12:56:13 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-17 13:53:30 +0100
commit7dc5b74229e83876307082712162d48e3124e10b (patch)
tree63bff50cc694920ccc181092411bae2a7915ac43 /tests/Krecursive2
parent67ef1d201644664afdfa2373e72495280a0c3fa0 (diff)
Detect recursive 'source' and print backtrace
Easier to debug than a RecursionError. Point out in the exception message that a common cause is environment variables not being set correctly.
Diffstat (limited to 'tests/Krecursive2')
-rw-r--r--tests/Krecursive21
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Krecursive2 b/tests/Krecursive2
new file mode 100644
index 0000000..5032b29
--- /dev/null
+++ b/tests/Krecursive2
@@ -0,0 +1 @@
+source "Kconfiglib/tests/Krecursive1"