From f7cc4fbcc769b23dad05ad0b8d21ec650ac01037 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 11 Dec 2012 11:42:07 +0100 Subject: Add selftests for get_defconfig_filename(). --- tests/Kdefconfig_existent | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/Kdefconfig_existent (limited to 'tests/Kdefconfig_existent') diff --git a/tests/Kdefconfig_existent b/tests/Kdefconfig_existent new file mode 100644 index 0000000..895c218 --- /dev/null +++ b/tests/Kdefconfig_existent @@ -0,0 +1,12 @@ +# $FOO is "defconfig_2" +# Should produce "Kconfiglib/tests/defconfig_2" + +config FOO + option env="BAR" + +config A + string + option defconfig_list + default "Kconfiglib/tests/defconfig_1" if y && !n && n + default "Kconfiglib/tests/$FOO" + default "Kconfiglib/tests/defconfig_1" -- cgit v1.2.3