(self)
| 143 | return c |
| 144 | |
| 145 | def get_build_version(self): |
| 146 | p = subprocess.Popen( |
| 147 | [self.name_executable, "--version"], |
| 148 | stdout=subprocess.PIPE, |
| 149 | stderr=subprocess.PIPE, |
| 150 | env=os.environ, |
| 151 | ) |
| 152 | wait_and_raise_if_fail(p) |
| 153 | out, err = p.communicate() |
| 154 | return out.decode("utf-8").replace("\n", " ").strip() |
| 155 | |
| 156 | def _collect_cmd(self): |
| 157 | options = ["".join(["--", k, "=", str(v)]) for k, v in self.options.items()] |
no test coverage detected