1 # SPDX-License-Identifier: GPL-2.0-only
3 Randomize all dependent choices
5 This is a somewhat tricky case for randconfig; the visibility of one choice is
6 determined by a member of another choice. Randconfig should be able to generate
18 assert conf.randconfig(seed=i) == 0
20 if conf.config_matches('expected_config0'):
22 elif conf.config_matches('expected_config1'):
24 elif conf.config_matches('expected_config2'):
29 if expected0 and expected1 and expected2: