(compileOutput: string)
| 167 | } |
| 168 | |
| 169 | function extractCompilerCall(compileOutput: string): string | undefined { |
| 170 | const rxComp = /("[^"]+"|[\S]+)/; |
| 171 | const ccalls = compileOutput.split('\n'); |
| 172 | if (ccalls.length < 2) { |
| 173 | return undefined; |
| 174 | } |
| 175 | |
| 176 | const m = ccalls[1].match(rxComp); |
| 177 | return m?.[1]; |
| 178 | } |
| 179 | |
| 180 | function collectCompilerOutput(rPath: string, workspaceFolder: string, testExtension: 'cpp' | 'c') { |
| 181 |
no outgoing calls
no test coverage detected