Skip to content

Commit 4524e6b

Browse files
committed
Set SOURCEKITLSP_FORCE_NON_DARWIN_LOGGER for parallel test execution
Set `SOURCEKITLSP_FORCE_NON_DARWIN_LOGGER` to 1 so we generate a log to stderr if parallel test execution fails, which helps diagnose the issue.
1 parent 045024d commit 4524e6b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.vscode/tasks.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"disableTaskQueue": true,
1111
"group": "test",
1212
"label": "Run all tests (parallel)",
13+
"options": {
14+
"env": {
15+
"SOURCEKITLSP_FORCE_NON_DARWIN_LOGGER": "1"
16+
}
17+
},
1318
"problemMatcher": [
1419
"$swiftc"
1520
],
@@ -30,7 +35,8 @@
3035
"label": "Run fast tests (parallel)",
3136
"options": {
3237
"env": {
33-
"SKIP_LONG_TESTS": "1"
38+
"SKIP_LONG_TESTS": "1",
39+
"SOURCEKITLSP_FORCE_NON_DARWIN_LOGGER": "1"
3440
}
3541
},
3642
"problemMatcher": [

0 commit comments

Comments
 (0)