(self)
| 710 | # continue executing main() |
| 711 | |
| 712 | def _add_python_opts(self) -> None: |
| 713 | python_opts: list[str] = [] |
| 714 | regrtest_opts: list[str] = [] |
| 715 | |
| 716 | environ, keep_environ = self._add_cross_compile_opts(regrtest_opts) |
| 717 | if self.ci_mode: |
| 718 | self._add_ci_python_opts(python_opts, keep_environ) |
| 719 | |
| 720 | if (not python_opts) and (not regrtest_opts) and (environ is None): |
| 721 | # Nothing changed: nothing to do |
| 722 | return |
| 723 | |
| 724 | # Create new command line |
| 725 | cmd = list(sys.orig_argv) |
| 726 | if python_opts: |
| 727 | cmd[1:1] = python_opts |
| 728 | if regrtest_opts: |
| 729 | cmd.extend(regrtest_opts) |
| 730 | cmd.append("--dont-add-python-opts") |
| 731 | |
| 732 | self._execute_python(cmd, environ) |
| 733 | |
| 734 | def _init(self): |
| 735 | setup_process() |
no test coverage detected