Lines Matching full:options
91 def _process_options(self, options): argument
92 if not options.fuzzer_random_seed:
93 options.fuzzer_random_seed = random_utils.random_seed()
95 if options.total_timeout_sec:
96 options.tests_count = 0
98 if options.combine_tests:
99 if options.combine_min > options.combine_max:
101 options.min_group_size, options.max_group_size)
104 if options.variants != 'default':
113 def _timeout_scalefactor(self, options): argument
114 factor = super(NumFuzzer, self)._timeout_scalefactor(options)
115 if options.stress_interrupt_budget:
121 def _get_statusfile_variables(self, options): argument
123 super(NumFuzzer, self)._get_statusfile_variables(options))
125 'deopt_fuzzer': bool(options.stress_deopt),
126 'endurance_fuzzer': bool(options.combine_tests),
127 'gc_stress': bool(options.stress_gc),
128 'gc_fuzzer': bool(max([options.stress_marking,
129 options.stress_scavenge,
130 options.stress_compaction,
131 options.stress_gc,
132 options.stress_thread_pool_size])),
136 def _do_execute(self, tests, args, options): argument
138 fuzzer_rng = random.Random(options.fuzzer_random_seed)
140 combiner = self._create_combiner(fuzzer_rng, options)
142 execproc = ExecutionProc(options.j)
144 indicators = self._create_progress_indicators(options)
151 self._create_shard_proc(options),
154 self._create_fuzzer(fuzzer_rng, options),
158 self._create_timeout_proc(options),
159 self._create_rerun_proc(options),
167 combiner.generate_initial_tests(options.j * 4)
183 def _load_suites(self, names, options): argument
184 suites = super(NumFuzzer, self)._load_suites(names, options)
185 if options.combine_tests:
187 if options.stress_interrupt_budget:
193 def _create_combiner(self, rng, options): argument
194 if not options.combine_tests:
196 return CombinerProc(rng, options.combine_min, options.combine_max,
197 options.tests_count)
199 def _create_fuzzer(self, rng, options): argument
202 self._tests_count(options),
203 self._create_fuzzer_configs(options),
204 self._disable_analysis(options),
207 def _tests_count(self, options): argument
208 if options.combine_tests:
210 return options.tests_count
212 def _disable_analysis(self, options): argument
213 """Disable analysis phase when options are used that don't support it."""
214 return options.combine_tests or options.stress_interrupt_budget
216 def _create_fuzzer_configs(self, options): argument
222 add('compaction', options.stress_compaction)
223 add('marking', options.stress_marking)
224 add('scavenge', options.stress_scavenge)
225 add('gc_interval', options.stress_gc)
226 add('threads', options.stress_thread_pool_size)
227 add('interrupt_budget', options.stress_interrupt_budget)
228 add('deopt', options.stress_deopt, options.stress_deopt_min)