Add issues with COM tests in the helix build. (dotnet/coreclr#19047)
authorAaron Robinson <arobins@microsoft.com>
Fri, 20 Jul 2018 02:42:48 +0000 (19:42 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Jul 2018 02:42:48 +0000 (19:42 -0700)
Presently COM tests does not appear to run properly on Windows.Nano but
there is no way to special case that OS so disabling them on all builds.

Commit migrated from https://github.com/dotnet/coreclr/commit/524ae00b8c268f092614f85a77b81bb854875da4

src/coreclr/tests/issues.targets
src/coreclr/tests/src/Interop/COM/NETClients/Primitives/Program.cs

index 145c16a..63490d8 100644 (file)
         <ExcludeList Include="$(XunitTestBinBase)\JIT\Performance\CodeQuality\BenchmarksGame\reverse-complement\reverse-complement-6\reverse-complement-6.cmd">
             <Issue>9314</Issue>
         </ExcludeList>
+        <!-- Disable COM tests since they don't properly run on Windows.Nano and at present there is no way to special case that OS flavor. -->
+        <ExcludeList Include="$(XunitTestBinBase)\Interop\COM\NETClients\Primitives\NETClientPrimitives\NETClientPrimitives.cmd">
+            <Issue>Fails on Windows.Nano</Issue>
+        </ExcludeList>
     </ItemGroup>
 
     <!-- The following are tests that fail on non-Windows, which we must not run when building against packages -->
         <ExcludeList Include="$(XunitTestBinBase)\Interop\StructMarshalling\PInvoke\MarshalStructAsLayoutExp\MarshalStructAsLayoutExp.cmd">
             <Issue>needs triage</Issue>
         </ExcludeList>
+        <ExcludeList Include="$(XunitTestBinBase)\Interop\COM\NETClients\Primitives\NETClientPrimitives\NETClientPrimitives.cmd">
+            <Issue>by design Windows only</Issue>
+        </ExcludeList>
         <ExcludeList Include="$(XunitTestBinBase)\JIT\Directed\IL\PInvokeTail\PInvokeTail\PInvokeTail.cmd">
             <Issue>needs triage</Issue>
         </ExcludeList>
index 4d76417..cf0249a 100644 (file)
@@ -19,7 +19,7 @@ namespace NetClient
             }
             catch (Exception e)
             {
-                Console.WriteLine($"Test Failure: {e.Message}\n{e.StackTrace}");
+                Console.WriteLine($"Test Failure: {e}");
                 return 101;
             }