From 3aca83eaf20f5e278b6d260cb255e6a9385590db Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 23 Aug 2018 10:45:42 +0200 Subject: Fix recursive 'source' error reporting The recursive 'source' detection was still fine, but the error reporting had broken due a missed variable renaming. The test suite didn't catch it, because a different type of KconfigError was raised instead, due to a separate error in the test suite (need to include tests/Krecursive{1,2}, since paths are relative to $srctree). Fix the variable name and tighten up the tests to check that the KconfigError message is the one we except. Tighten up the dependency loop detection tests in the same way too. --- tests/Krecursive2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Krecursive2') diff --git a/tests/Krecursive2 b/tests/Krecursive2 index 5032b29..9f9f00e 100644 --- a/tests/Krecursive2 +++ b/tests/Krecursive2 @@ -1 +1 @@ -source "Kconfiglib/tests/Krecursive1" +source "tests/Krecursive1" -- cgit v1.2.3