From 5e8b3867153c6c5e13bf11530bae1924afd93895 Mon Sep 17 00:00:00 2001 From: Lawrence Lomax Date: Wed, 2 Dec 2020 10:14:16 -0800 Subject: [PATCH] Don't pass args to xctest cli from test listing Summary: This is wholly un-needed since the arguments are disregarded. Let's make the command as terse as possible Reviewed By: zeyadsalloum Differential Revision: D25122978 fbshipit-source-id: 12995c14e9420ae01a7f74b90d62f9b1a2f54861 --- XCTestBootstrap/Configuration/FBXCTestConfiguration.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/XCTestBootstrap/Configuration/FBXCTestConfiguration.m b/XCTestBootstrap/Configuration/FBXCTestConfiguration.m index c002092d3..e064fd360 100644 --- a/XCTestBootstrap/Configuration/FBXCTestConfiguration.m +++ b/XCTestBootstrap/Configuration/FBXCTestConfiguration.m @@ -311,10 +311,9 @@ - (NSString *)testType } NSString *xctestPath = executor.xctestPath; - NSArray *arguments = @[@"-XCTest", @"All", self.testBundlePath]; return [FBXCTestProcess startWithLaunchPath:xctestPath - arguments:arguments + arguments:@[] // xctest needs no arguments as the shim will disregard & bypass them. environment:environment waitForDebugger:NO stdOutConsumer:stdOutConsumer