Index: ios/build/bots/scripts/test_runner.py |
diff --git a/ios/build/bots/scripts/test_runner.py b/ios/build/bots/scripts/test_runner.py |
index 9e4818e3720435ad3b45a5ae1dd449b5de5e159f..e51e4e0855dcf59980e8f1a6f8b11eb70e06fab2 100644 |
--- a/ios/build/bots/scripts/test_runner.py |
+++ b/ios/build/bots/scripts/test_runner.py |
@@ -645,7 +645,6 @@ class DeviceTestRunner(TestRunner): |
'xcodebuild', |
'test-without-building', |
'BUILT_PRODUCTS_DIR=%s' % os.path.dirname(self.app_path), |
- 'NSUnbufferedIO=YES', |
'-destination', 'id=%s' % self.udid, |
'-project', XCTEST_PROJECT, |
'-scheme', XCTEST_SCHEME, |
@@ -682,6 +681,7 @@ class DeviceTestRunner(TestRunner): |
""" |
env = super(DeviceTestRunner, self).get_launch_env() |
if self.xctest_path: |
+ env['NSUnbufferedIO'] = 'YES' |
# e.g. ios_web_shell_test_host |
env['APP_TARGET_NAME'] = ( |
os.path.splitext(os.path.basename(self.app_path))[0]) |