summaryrefslogtreecommitdiff
path: root/tests/Krecursive1
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/Krecursive1
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/Krecursive1')
-rw-r--r--tests/Krecursive11
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Krecursive1 b/tests/Krecursive1
new file mode 100644
index 0000000..c4008c2
--- /dev/null
+++ b/tests/Krecursive1
@@ -0,0 +1 @@
+source "Kconfiglib/tests/Krecursive2"