Minor runtime test cleanup (#56833)
authorimhameed <imhameed@microsoft.com>
Wed, 4 Aug 2021 15:40:46 +0000 (11:40 -0400)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 15:40:46 +0000 (08:40 -0700)
Removes stray debug logging and removes a redundant branch.

See https://github.com/dotnet/runtime/pull/43954#discussion_r682420803 and https://github.com/dotnet/runtime/pull/43954#discussion_r682420941.

src/tests/Common/Coreclr.TestWrapper/MobileAppHandler.cs

index 7a58262..324edcc 100644 (file)
@@ -81,11 +81,6 @@ namespace CoreclrTestLib
                         }
                     }
 
-                    if (platform != "android")
-                    {
-                        cmdStr += " --target ios-simulator-64";
-                    }
-
                     using (Process process = new Process())
                     {
                         if (OperatingSystem.IsWindows())
@@ -102,8 +97,6 @@ namespace CoreclrTestLib
                         process.StartInfo.RedirectStandardOutput = true;
                         process.StartInfo.RedirectStandardError = true;
 
-                        outputWriter.WriteLine("XXXih: cmdStr = {0}", cmdStr);
-                        errorWriter.WriteLine("XXXih: cmdStr = {0}", cmdStr);
                         DateTime startTime = DateTime.Now;
                         process.Start();