You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -153,6 +155,7 @@ public static int Main (string[] args)
153
155
stringlaunchdev=null;
154
156
stringlaunchsim=null;
155
157
boolautoexit=false;
158
+
boolskipheader=false;
156
159
stringdevice_name=String.Empty;
157
160
stringdevice_type=String.Empty;
158
161
TimeSpan?timeout=null;
@@ -169,6 +172,7 @@ public static int Main (string[] args)
169
172
{"launchdev=","Run the specified app on a device (specify using bundle identifier)", v =>launchdev=v},
170
173
{"launchsim=","Run the specified app on the simulator (specify using path to *.app directory)", v =>launchsim=v},
171
174
{"autoexit","Exit the server once a test run has completed (default: false)", v =>autoexit=true},
175
+
{"skipheader","Exclude the header from the logfile (default: false)", v =>skipheader=true},
172
176
{"devname=","Specify the device to connect to", v =>device_name=v},
173
177
{"device=","Specifies the device type to launch the simulator", v =>device_type=v},
174
178
{"timeout=","Specifies a timeout (in minutes), after which the simulator app will be killed (ignored for device runs)", v =>timeout=TimeSpan.FromMinutes(double.Parse(v))},
@@ -346,7 +350,7 @@ public static int Main (string[] args)
346
350
});
347
351
}
348
352
349
-
varresult=listener.Start();
353
+
varresult=listener.Start(skipheader);
350
354
if(proc!=null&&!proc.WaitForExit(30000/* wait another 30 seconds for mtouch to finish as well */))
351
355
Console.WriteLine("mtouch didn't complete within 30s of the simulator app exiting. Touch.Server will exit anyway.");
352
356
// Wait up to 2 seconds to receive the last of the error/output data. This will only be received *after*
0 commit comments