-
Notifications
You must be signed in to change notification settings - Fork 735
Multiproject requests like find all refs, rename and workspace symbols #1991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 20 commits
9e6e021
b7dc8db
28dd671
1171089
9516c6f
f88b8f2
4f25a86
5d230c1
fcfedab
5470a9d
12c0e93
64a2d44
812c9bc
fee7f97
70ca6da
23f8f3f
2be521c
0f005e7
3a76f2a
72e09da
e2c372c
e9a71c4
7b6c01d
344f432
6727c37
f037f5d
a8a2af6
8cf43c8
366e922
6281763
c2cd31c
b89cd8c
53e79d8
d19996e
a661a3d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,15 +13,15 @@ function main() { | |
| const go = which.sync("go"); | ||
| let testOutput: string; | ||
| try { | ||
| testOutput = cp.execFileSync(go, ["test", "./internal/fourslash/tests/gen"], { encoding: "utf-8" }); | ||
| testOutput = cp.execFileSync(go, ["test", "-v", "./internal/fourslash/tests/gen"], { encoding: "utf-8" }); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this end up printing a lot?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is when it panics we can diagnose the issue rather than having to manually run those steps and tests again to figure out which test had panic that was not expected. (eg i got one when i was not associating reqID for panics when operating on projects inside those go routines.) |
||
| } | ||
| catch (error) { | ||
| testOutput = (error as { stdout: string; }).stdout as string; | ||
| } | ||
| const panicRegex = /^panic/m; | ||
| if (panicRegex.test(testOutput)) { | ||
| fs.writeFileSync(failingTestsPath, oldFailingTests, "utf-8"); | ||
| throw new Error("Unrecovered panic detected in tests"); | ||
| throw new Error("Unrecovered panic detected in tests\n" + testOutput); | ||
| } | ||
| const failRegex = /--- FAIL: ([\S]+)/gm; | ||
| const failingTests: string[] = []; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.