Skip to content

Commit f7a1c76

Browse files
authored
XCTests on linux/windows should be comma separated (#983)
* XCTests on linux/windows are comma separated * Use same functions for linux and windows
1 parent ceff198 commit f7a1c76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/debugger/buildConfig.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ export class TestingDebugConfigurationFactory {
128128
if (isDebugging(this.testKind) && this.testLibrary === TestLibrary.xctest) {
129129
return {
130130
...this.baseConfig,
131-
program: this.xcTestOutputPath,
132-
args: this.testList,
131+
program: this.testExecutableOutputPath,
132+
args: this.debuggingTestExecutableArgs,
133133
env: {
134134
...swiftRuntimeEnv(),
135135
...configuration.folder(this.ctx.workspaceFolder).testEnvironmentVariables,
@@ -419,7 +419,7 @@ export class TestingDebugConfigurationFactory {
419419
this.addTestsToArgs(this.addSwiftTestingFlagsArgs([]))
420420
);
421421
case TestLibrary.xctest:
422-
return this.testList;
422+
return [this.testList.join(",")];
423423
}
424424
}
425425

0 commit comments

Comments
 (0)