(self, xcpath)
| 307 | return xcpath |
| 308 | |
| 309 | def trigger_parse(self, xcpath): |
| 310 | # FIXME: ensure index_store_path from buildServer.json consistent with parsed .compile file.. |
| 311 | import xclog_parser |
| 312 | |
| 313 | xclog_parser.hooks_echo_to_log = True |
| 314 | |
| 315 | from xclog_parser import parse, OutputLockedError |
| 316 | |
| 317 | try: |
| 318 | cmd = ["xclog_parser", "-al", xcpath, "-o", self._compile_file] |
| 319 | if self.config.skip_validate_bin: |
| 320 | cmd.append("--skip-validate-bin") |
| 321 | logger.info(f"parse log at {xcpath}") |
| 322 | parse(cmd) |
| 323 | self.handle_compile_file_change() |
| 324 | except OutputLockedError: |
| 325 | self.locking_compile_file = True |
| 326 | |
| 327 | def sync_compile_file(self, before=None): |
| 328 | """update to newest compile info to main thread |
no test coverage detected