获取执行stderr的log :param sub_proc: :return: stderr中的log
(self, sub_proc)
| 184 | return result |
| 185 | |
| 186 | def __get_stderr_log(self, sub_proc): |
| 187 | """ |
| 188 | 获取执行stderr的log |
| 189 | :param sub_proc: |
| 190 | :return: stderr中的log |
| 191 | """ |
| 192 | if not os.path.exists(sub_proc.stderr_filepath): |
| 193 | return "" |
| 194 | spc_err = open(sub_proc.stderr_filepath, "r", encoding="utf-8") |
| 195 | log = spc_err.read() |
| 196 | spc_err.close() |
| 197 | return log |
| 198 | |
| 199 | def __get_issues_from_file(self, file_path, source_dir): |
| 200 | items = [] |
no test coverage detected