Changeset 1b20da0 in mainline for tools/config.py
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config.py
rdf6ded8 r1b20da0 270 270 # @param rules Rules 271 271 # @param start_index With which rule to start (initial call must specify 0 here). 272 # @return True if able to find a valid configuration 272 # @return True if able to find a valid configuration 273 273 def random_choices(config, rules, start_index): 274 274 "Fill the configuration with random (but valid) values." … … 278 278 varname, vartype, name, choices, cond = rules[start_index] 279 279 280 # First check that this rule would make sense 280 # First check that this rule would make sense 281 281 if cond: 282 282 if not check_condition(cond, config, rules): … … 654 654 create_output(MAKEFILE, MACROS, config, rules) 655 655 656 return 0 656 return 0 657 657 658 658 screen = xtui.screen_init()
Note:
See TracChangeset
for help on using the changeset viewer.