Commit 400a5f8
Add GoogleTest failure pattern to default ctest failurePatterns (#4756)
* Initial plan
* Add GoogleTest failure pattern to default ctest failurePatterns
Add a third default failure pattern `(.*?):(\\d+): *(Failure.*)` that matches
GoogleTest's output format (e.g., `file.cpp:135: Failure`). The existing
patterns only matched lines containing `error:`, which doesn't match
GoogleTest's failure format, resulting in non-clickable file paths in the
Test Results panel.
Fixes #4589
Co-authored-by: hanniavalera <90047725+hanniavalera@users.noreply.github.com>
* Restore .npmrc file that was accidentally deleted
Co-authored-by: hanniavalera <90047725+hanniavalera@users.noreply.github.com>
* Fix GoogleTest test assertions to avoid cross-platform URI path issues
On Linux CI, vscode.Uri.file('D:/...').path returns '/D:/...' (with leading
slash), causing assertion failures. Use Unix-style paths in test cases since
the tests validate regex pattern matching, not URI path handling.
Co-authored-by: hanniavalera <90047725+hanniavalera@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hanniavalera <90047725+hanniavalera@users.noreply.github.com>1 parent 16e3df7 commit 400a5f8
3 files changed
+36
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2528 | 2528 | | |
2529 | 2529 | | |
2530 | 2530 | | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
2531 | 2534 | | |
2532 | 2535 | | |
2533 | 2536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
70 | 102 | | |
71 | 103 | | |
72 | 104 | | |
| |||
0 commit comments