Skip to content

Commit

Permalink
Use "standalone" mode to launch logic tests
Browse files Browse the repository at this point in the history
Summary: Always launch Logic tests in "standalone" mode, regardless of whether the the target sim is booted or not.

Reviewed By: Nekitosss

Differential Revision: D38456412

fbshipit-source-id: b64135b09eee3bc34b718d48af6fb3998d646c9d
  • Loading branch information
jbardini authored and facebook-github-bot committed Aug 8, 2022
1 parent e3fa0b2 commit f638fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCTestBootstrap/Strategies/FBLogicTestRunStrategy.m
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ - (instancetype)initWithTarget:(id<FBiOSTarget, FBProcessSpawnCommands, FBXCTest
[FBCollectionInformation oneLineDescriptionFromDictionary:environment]
];
FBProcessIO *io = [[FBProcessIO alloc] initWithStdIn:nil stdOut:[FBProcessOutput outputForDataConsumer:outputs.stdOutConsumer] stdErr:[FBProcessOutput outputForDataConsumer:outputs.stdErrConsumer]];
FBProcessSpawnConfiguration *configuration = [[FBProcessSpawnConfiguration alloc] initWithLaunchPath:launchPath arguments:arguments environment:environment io:io mode:FBProcessSpawnModeDefault];
FBProcessSpawnConfiguration *configuration = [[FBProcessSpawnConfiguration alloc] initWithLaunchPath:launchPath arguments:arguments environment:environment io:io mode:FBProcessSpawnModePosixSpawn];

return [[self.target
launchProcess:configuration]
Expand Down

0 comments on commit f638fbb

Please sign in to comment.