Lines Matching refs:targets
124 to as file targets. These indicate where test cases will be written to for
155 # Update `targets` with an entry for each child class of BaseTarget.
158 self.targets.update({
177 # Note that targets whose names contain 'test_format' have their content
179 targets = {} # type: Dict[str, Callable[..., Iterable[test_case.TestCase]]]
187 test_cases = self.targets[name](*target_args)
194 help='List available targets and exit')
196 help='Print \';\'-separated list of available targets and exit')
203 parser.add_argument('targets', nargs='*', metavar='TARGET',
217 for name in sorted(generator.targets):
223 for name in sorted(generator.targets)), end='')
225 if options.targets:
227 # ``generate_xxx_tests.py - $targets`` and it works uniformly whether
228 # ``$targets`` is empty or not.
229 options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target))
230 for target in options.targets
233 options.targets = sorted(generator.targets)
234 for target in options.targets: