(self, parser, sys_args)
| 323 | pass # pragma: no cover |
| 324 | |
| 325 | def _parse_args(self, parser, sys_args): |
| 326 | options, args = parser.parse_args(sys_args) |
| 327 | |
| 328 | options.test_root = Path(options.test_root) |
| 329 | options.outdir = Path(options.outdir) |
| 330 | |
| 331 | if options.arch and ',' in options.arch: # pragma: no cover |
| 332 | print('Multiple architectures are deprecated') |
| 333 | raise TestRunnerError() |
| 334 | |
| 335 | # We write a test schedule and the system memory stats by default |
| 336 | # alongside json test results on bots. |
| 337 | if options.json_test_results: |
| 338 | result_dir = Path(options.json_test_results).parent |
| 339 | if not options.log_test_schedule: |
| 340 | options.log_test_schedule = result_dir / 'test_schedule.log' |
| 341 | if not options.log_system_memory: |
| 342 | options.log_system_memory = result_dir / 'memory_stats.log' |
| 343 | |
| 344 | return AugmentedOptions.augment(options), args |
| 345 | |
| 346 | def _load_build_config(self): |
| 347 | for outdir in self._possible_outdirs(): |
no test coverage detected