summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/rand_nested_choice/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/rand_nested_choice/__init__.py')
-rw-r--r--scripts/kconfig/tests/rand_nested_choice/__init__.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/kconfig/tests/rand_nested_choice/__init__.py b/scripts/kconfig/tests/rand_nested_choice/__init__.py
deleted file mode 100644
index 9e4b2db535..0000000000
--- a/scripts/kconfig/tests/rand_nested_choice/__init__.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-"""
-Set random values recursively in nested choices.
-
-Kconfig can create a choice-in-choice structure by using 'if' statement.
-randconfig should correctly set random choice values.
-
-Related Linux commit: 3b9a19e08960e5cdad5253998637653e592a3c29
-"""
-
-
-def test(conf):
- for i in range(20):
- assert conf.randconfig() == 0
- assert (conf.config_contains('expected_stdout0') or
- conf.config_contains('expected_stdout1') or
- conf.config_contains('expected_stdout2'))