diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-12 10:54:30 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-12 11:07:09 +0100 |
| commit | f74acbcf05512c01168652ad90d2665a04938a31 (patch) | |
| tree | 507394414f0ba8ee80d498dc4b15e67273db3688 /tests | |
| parent | bb81705d4a1829e671124b05a9caffa98f282ba2 (diff) | |
Remove unused test files
Some were for now-removed APIs, others tested things that are tested
differently now.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Kbase_dir | 2 | ||||
| -rw-r--r-- | tests/Kbounds | 82 | ||||
| -rw-r--r-- | tests/Kchain | 130 | ||||
| -rw-r--r-- | tests/Kdep | 187 | ||||
| -rw-r--r-- | tests/Kref | 59 | ||||
| -rw-r--r-- | tests/config_continuation | 7 | ||||
| -rw-r--r-- | tests/config_hash | 1 |
7 files changed, 0 insertions, 468 deletions
diff --git a/tests/Kbase_dir b/tests/Kbase_dir deleted file mode 100644 index 9f8c55a..0000000 --- a/tests/Kbase_dir +++ /dev/null @@ -1,2 +0,0 @@ -# This will only work if 'base_dir' is set correctly -source "empty" diff --git a/tests/Kbounds b/tests/Kbounds deleted file mode 100644 index 52e61c9..0000000 --- a/tests/Kbounds +++ /dev/null @@ -1,82 +0,0 @@ -config MODULES - def_bool y - -config Y_VISIBLE_BOOL - bool "y-visible bool" - -config Y_VISIBLE_TRISTATE - tristate "y-visible tristate" - -config M_VISIBLE_BOOL - bool "m-visible bool" if m - -menuconfig M_VISIBLE_TRISTATE - tristate "m-visible tristate" if m - -config Y_SELECTOR - def_tristate y - select Y_SELECTED_BOOL - select Y_SELECTED_TRISTATE - -config M_SELECTOR - def_tristate m - select M_SELECTED_BOOL - select M_SELECTED_TRISTATE - select M_SELECTED_M_VISIBLE_TRISTATE - -config Y_SELECTED_BOOL - bool "y-selected bool" - -config Y_SELECTED_TRISTATE - tristate "y-selected tristate" - -config M_SELECTED_BOOL - bool "m-selected bool" - -config M_SELECTED_TRISTATE - tristate "m-selected tristate" - -config M_SELECTED_M_VISIBLE_TRISTATE - tristate "m-selected m-visible tristate" if m - -config N_IMPLIER - def_tristate n - imply N_IMPLIED_BOOL - imply N_IMPLIED_TRISTATE - -config M_IMPLIER - def_tristate m - imply M_IMPLIED_BOOL - imply M_IMPLIED_TRISTATE - -config Y_IMPLIER - def_tristate y - imply Y_IMPLIED_BOOL - imply Y_IMPLIED_TRISTATE - -config N_IMPLIED_BOOL - bool "n-implied bool" - -config N_IMPLIED_TRISTATE - tristate "n-implied tristate" - -config M_IMPLIED_BOOL - bool "m-implied bool" - -config M_IMPLIED_TRISTATE - tristate "m-implied tristate" - -config Y_IMPLIED_BOOL - bool "y-implied bool" - -config Y_IMPLIED_TRISTATE - tristate "y-implied tristate" - -config STRING - string "string" - -config INT - int "int" - -config HEX - hex "hex" diff --git a/tests/Kchain b/tests/Kchain deleted file mode 100644 index d742c9e..0000000 --- a/tests/Kchain +++ /dev/null @@ -1,130 +0,0 @@ -# -# Dependency chain. -# -# In the following, CHAIN_n depends on CHAIN_n-1 in different ways for n > 1. -# We verify that the last element depends on CHAIN_1. -# - -config CHAIN_1 - bool - -config CHAIN_2 - bool "chain 2" - depends on CHAIN_1 - -config CHAIN_3 - bool "chain 3" if CHAIN_2 - -config CHAIN_4 - def_bool CHAIN_3 - -config CHAIN_5 - def_bool y if CHAIN_4 - -config CHAIN_6 - def_tristate CHAIN_5 - -config CHAIN_7 - def_tristate y if CHAIN_6 - -config CHAIN_8 - bool - default CHAIN_7 - -config CHAIN_9 - bool - default y if CHAIN_8 - -config CHAIN_10 - bool - prompt "chain 10" if CHAIN_9 - -config CHAIN_11 - int - range 0 1 if CHAIN_10 - -config CHAIN_12 - int - range CHAIN_11 10 - -config CHAIN_13 - hex - range 0 CHAIN_12 - -config CHAIN_14 - bool "chain 14" if "0x2" = CHAIN_13 - select CHAIN_15 - -config CHAIN_15 - bool "chain 15" - -config CHAIN_SELECT_RELAY - bool "chain select relay" - default y - select CHAIN_16 if CHAIN_15 - -config CHAIN_16 - bool "chain 16" - imply CHAIN_17 - -config CHAIN_17 - bool "chain 17" - -config CHAIN_IMPLY_RELAY - bool "chain imply relay" - default y - imply CHAIN_18 if CHAIN_17 - -config CHAIN_18 - tristate "chain 19" - -if CHAIN_18 = 0 -config CHAIN_19 - tristate "chain 19" -endif - -menu "chain menu" - depends on CHAIN_19 -config CHAIN_20 - bool "chain 20" -endmenu - -menu "chain menu visible if" - visible if CHAIN_20 -config CHAIN_21 - bool "chain 21" -endmenu - -choice CHAIN_CHOICE_1 - tristate "chain choice 1" if CHAIN_21 -config CHAIN_22 - tristate "chain 22" -config DUMMY_1 - tristate "dummy 1" -endchoice - -choice CHAIN_CHOICE_2 - tristate "chain choice 2" - depends on CHAIN_22 -config DUMMY_2 - tristate "dummy 2" -config CHAIN_23 - tristate "chain 23" -endchoice - -choice CHAIN_CHOICE_3 - tristate "chain choice 3" - default DUMMY_3 if CHAIN_23 -config CHAIN_24 - tristate "chain 24" -config DUMMY_3 - tristate "dummy 3" -endchoice - -config CHAIN_25 - int "chain 25" - depends on CHAIN_24 - -config CHAIN_26 - int "chain 26" - default 0 if y && 0 < CHAIN_25 diff --git a/tests/Kdep b/tests/Kdep deleted file mode 100644 index ef1a4dc..0000000 --- a/tests/Kdep +++ /dev/null @@ -1,187 +0,0 @@ -config D - bool "D" - select D31 - imply D32 - -config DUMMY - select D33 if D - imply D34 if D - -# The symbols below depend on D in different ways - -config D1 - def_bool D - -config D2 - int "D2" if D - -config D3 - int "D3" - depends on D - -config D4 - bool "D4" - default D - -config D5 - bool - default y if D - -config D6 - int - range 0 1 if D - -menuconfig D7 - int - range D 1 - -config D8 - int - range 0 D - -# D9 and D10 depend on D even though they have no prompt, because it's needed -# to get invalidation right for 'imply' - -if D -config D9 - bool -endif - -config D10 - bool - depends on D - -if D -config D11 - bool "D11" -endif - -menu "m" - depends on D - -config D12 - bool "D12" - -menu "nested" - -config D13 - bool "D13" - -endmenu -endmenu - -# Indirect dependency -config D14 - def_tristate D13 - -menu "m" - depends on D -if D -# Depends on D in lots of different ways -config D15 - int "D15" if D - depends on D && D12 - default D if D - range D D if D -endif -endmenu - -# Different kinds of expressions - -config D16 - bool "D16" if D || n - -config D17 - bool "D17" if n || D - -config D18 - bool "D18" if D && y - -config D19 - bool "D19" if y && D - -config D20 - bool "D20" if !D - -config D21 - bool "D21" if !D && y - -config D22 - bool "D22" if !(D && y) - -config D23 - bool "D23" if (D) - -config D24 - bool "D24" if ((D)) - -config D25 - bool "D25" if n || (y && n || (m || D)) - -config D26 - bool "D26" if D = n - -config D27 - bool "D27" if n = D - -config D28 - bool "D28" if n != D - -config D29 - bool "D29" if D != n - -config D30 - bool "D30" if n || ((n != D) || n) - -config D31 - tristate "D31" - -config D32 - tristate "D32" - -config D33 - tristate "D33" - -config D34 - tristate "D34" - -config D35 - int "D35" - default 0 if D < 0 - -config D36 - int "D36" - default 0 if 0 < D - -config D37 - int "D37" - default 0 if 0 <= D - -config D38 - int "D38" - default 0 if 0 > D - -config D39 - int "D39" - default 0 if 0 >= D - -# -# Choices -# - -choice - tristate "choice" if S - -config A - bool "A" - -config B - bool "B" - -config C - bool "C" - -endchoice - -config S - bool "S" diff --git a/tests/Kref b/tests/Kref deleted file mode 100644 index b538b15..0000000 --- a/tests/Kref +++ /dev/null @@ -1,59 +0,0 @@ -# For testing get_referenced_symbols(), get_selected_symbols(), etc. - -config NO_REF - bool - -config ONE_REF - def_bool A - -menu "menu 1" - depends on MENU_REF_1 && MENU_REF_2 - -if IF_REF_1 && IF_REF_2 - -config MANY_REF - int "BAR" if A && B - default C if D - range E F if !G - depends on H - select I if J = K || L != M - select N if (A || !(B && (C = O))) - imply P if Q = R || S != T - imply U if (A || !(B && (C = V))) - default A if A < W || X < A || A <= Y || A > Z || A >= AA -endif - -endmenu - -if MENU_REF_1 -if MENU_REF_1 = MENU_REF_2 - -menu "menu 2" - depends on NO_REF || MENU_REF_3 -endmenu -endif -endif - -if CHOICE_REF_1 -if CHOICE_REF_2 = CHOICE_REF_3 -choice - tristate "choice" if CHOICE_REF_4 || CHOICE_REF_5 - depends on !CHOICE_REF_6 - -config A - bool "A" - -config B - bool "B" - -endchoice -endif -endif - -if COMMENT_REF_1 -if !COMMENT_REF_2 -comment "comment" - depends on COMMENT_REF_3 != COMMENT_REF_4 - depends on COMMENT_REF_5 -endif -endif diff --git a/tests/config_continuation b/tests/config_continuation deleted file mode 100644 index 5dd78cc..0000000 --- a/tests/config_continuation +++ /dev/null @@ -1,7 +0,0 @@ -# Foo \ -# Bar -# Baz \ -# Foo \ -# Bar -# Baz -# Foo diff --git a/tests/config_hash b/tests/config_hash deleted file mode 100644 index 792d600..0000000 --- a/tests/config_hash +++ /dev/null @@ -1 +0,0 @@ -# |
