Convert JIT/SIMD to a merged test group (#85852)
authorMark Plesko <markples@microsoft.com>
Fri, 12 May 2023 18:49:51 +0000 (11:49 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 18:49:51 +0000 (11:49 -0700)
See https://github.com/markples/utils/tree/for-PR-dotnet-runtime-85847-others for ILTransform tool.

* [ILTransform -prociso] Set RequiresProcessIsolation when needed by other properties
* [ILTransform -public] Make test entrypoints accessible
* Manual fixes for [ILTransform -public] - public partial classes
* [ILTransform -ilfact] Main->TestEntryPoint, [Fact], remove OutputType=Exe
* Remove DOTNET_JitFuncInfoLogFile/SIMD.log from JIT/SIMD
* Manual fixes for xUnit1013 - internal methods
* Manually fix case of accessibility of test in nested type
* Add merged group

177 files changed:
src/tests/JIT/SIMD/AbsGeneric.cs
src/tests/JIT/SIMD/AbsGeneric_r.csproj
src/tests/JIT/SIMD/AbsGeneric_ro.csproj
src/tests/JIT/SIMD/AbsSqrt.cs
src/tests/JIT/SIMD/AbsSqrt_r.csproj
src/tests/JIT/SIMD/AbsSqrt_ro.csproj
src/tests/JIT/SIMD/AddingSequence.cs
src/tests/JIT/SIMD/AddingSequence_r.csproj
src/tests/JIT/SIMD/AddingSequence_ro.csproj
src/tests/JIT/SIMD/BitwiseOperations.cs
src/tests/JIT/SIMD/BitwiseOperations_r.csproj
src/tests/JIT/SIMD/BitwiseOperations_ro.csproj
src/tests/JIT/SIMD/BoxUnbox.cs
src/tests/JIT/SIMD/BoxUnbox_r.csproj
src/tests/JIT/SIMD/BoxUnbox_ro.csproj
src/tests/JIT/SIMD/BugWithAVX.cs
src/tests/JIT/SIMD/BugWithAVX_r.csproj
src/tests/JIT/SIMD/BugWithAVX_ro.csproj
src/tests/JIT/SIMD/CircleInConvex.cs
src/tests/JIT/SIMD/CircleInConvex_r.csproj
src/tests/JIT/SIMD/CircleInConvex_ro.csproj
src/tests/JIT/SIMD/CreateGeneric.cs
src/tests/JIT/SIMD/CreateGeneric_r.csproj
src/tests/JIT/SIMD/CreateGeneric_ro.csproj
src/tests/JIT/SIMD/CtorFromArray.cs
src/tests/JIT/SIMD/CtorFromArray_r.csproj
src/tests/JIT/SIMD/CtorFromArray_ro.csproj
src/tests/JIT/SIMD/Ctors.cs
src/tests/JIT/SIMD/Ctors_r.csproj
src/tests/JIT/SIMD/Ctors_ro.csproj
src/tests/JIT/SIMD/Directory.Build.props
src/tests/JIT/SIMD/DivSignedUnsignedTest.cs
src/tests/JIT/SIMD/DivSignedUnsignedTest_r.csproj
src/tests/JIT/SIMD/DivSignedUnsignedTest_ro.csproj
src/tests/JIT/SIMD/Dup.cs
src/tests/JIT/SIMD/Dup_r.csproj
src/tests/JIT/SIMD/Dup_ro.csproj
src/tests/JIT/SIMD/Haar-likeFeaturesGeneric.cs
src/tests/JIT/SIMD/Haar-likeFeaturesGeneric_r.csproj
src/tests/JIT/SIMD/Haar-likeFeaturesGeneric_ro.csproj
src/tests/JIT/SIMD/JIT.SIMD.csproj [new file with mode: 0644]
src/tests/JIT/SIMD/Ldfld.cs
src/tests/JIT/SIMD/LdfldGeneric.cs
src/tests/JIT/SIMD/LdfldGeneric_r.csproj
src/tests/JIT/SIMD/LdfldGeneric_ro.csproj
src/tests/JIT/SIMD/Ldfld_r.csproj
src/tests/JIT/SIMD/Ldfld_ro.csproj
src/tests/JIT/SIMD/Ldind.cs
src/tests/JIT/SIMD/Ldind_r.csproj
src/tests/JIT/SIMD/Ldind_ro.csproj
src/tests/JIT/SIMD/Matrix4x4.cs
src/tests/JIT/SIMD/Matrix4x4_r.csproj
src/tests/JIT/SIMD/Matrix4x4_ro.csproj
src/tests/JIT/SIMD/MinMax.cs
src/tests/JIT/SIMD/MinMax_r.csproj
src/tests/JIT/SIMD/MinMax_ro.csproj
src/tests/JIT/SIMD/Mul.cs
src/tests/JIT/SIMD/Mul_r.csproj
src/tests/JIT/SIMD/Mul_ro.csproj
src/tests/JIT/SIMD/Plane.cs
src/tests/JIT/SIMD/Plane_r.csproj
src/tests/JIT/SIMD/Plane_ro.csproj
src/tests/JIT/SIMD/ShiftOperations.cs
src/tests/JIT/SIMD/ShiftOperations.csproj
src/tests/JIT/SIMD/SimpleSIMDProgram.cs
src/tests/JIT/SIMD/SimpleSIMDProgram.csproj
src/tests/JIT/SIMD/SqrtGeneric.cs
src/tests/JIT/SIMD/SqrtGeneric_r.csproj
src/tests/JIT/SIMD/SqrtGeneric_ro.csproj
src/tests/JIT/SIMD/StoreElement.cs
src/tests/JIT/SIMD/StoreElement_r.csproj
src/tests/JIT/SIMD/StoreElement_ro.csproj
src/tests/JIT/SIMD/Sums.cs
src/tests/JIT/SIMD/Sums_r.csproj
src/tests/JIT/SIMD/Sums_ro.csproj
src/tests/JIT/SIMD/Vector3.cs
src/tests/JIT/SIMD/Vector3GetHash.cs
src/tests/JIT/SIMD/Vector3GetHash_r.csproj
src/tests/JIT/SIMD/Vector3GetHash_ro.csproj
src/tests/JIT/SIMD/Vector3Interop.cs
src/tests/JIT/SIMD/Vector3Interop_r.csproj
src/tests/JIT/SIMD/Vector3Interop_ro.csproj
src/tests/JIT/SIMD/Vector3_r.csproj
src/tests/JIT/SIMD/Vector3_ro.csproj
src/tests/JIT/SIMD/Vector4.cs
src/tests/JIT/SIMD/Vector4_r.csproj
src/tests/JIT/SIMD/Vector4_ro.csproj
src/tests/JIT/SIMD/VectorAbs.cs
src/tests/JIT/SIMD/VectorAbs_r.csproj
src/tests/JIT/SIMD/VectorAbs_ro.csproj
src/tests/JIT/SIMD/VectorAdd.cs
src/tests/JIT/SIMD/VectorAdd_r.csproj
src/tests/JIT/SIMD/VectorAdd_ro.csproj
src/tests/JIT/SIMD/VectorArgs.cs
src/tests/JIT/SIMD/VectorArgs_r.csproj
src/tests/JIT/SIMD/VectorArgs_ro.csproj
src/tests/JIT/SIMD/VectorArray.cs
src/tests/JIT/SIMD/VectorArrayInit.cs
src/tests/JIT/SIMD/VectorArrayInit_r.csproj
src/tests/JIT/SIMD/VectorArrayInit_ro.csproj
src/tests/JIT/SIMD/VectorArray_r.csproj
src/tests/JIT/SIMD/VectorArray_ro.csproj
src/tests/JIT/SIMD/VectorCast.cs
src/tests/JIT/SIMD/VectorCast_r.csproj
src/tests/JIT/SIMD/VectorCast_ro.csproj
src/tests/JIT/SIMD/VectorCeilFloor.cs
src/tests/JIT/SIMD/VectorCeilFloor_r.csproj
src/tests/JIT/SIMD/VectorCeilFloor_ro.csproj
src/tests/JIT/SIMD/VectorConvert.cs
src/tests/JIT/SIMD/VectorConvert_r_Target_32Bit.csproj
src/tests/JIT/SIMD/VectorConvert_r_Target_64Bit.csproj
src/tests/JIT/SIMD/VectorConvert_ro_Target_32Bit.csproj
src/tests/JIT/SIMD/VectorConvert_ro_Target_64Bit.csproj
src/tests/JIT/SIMD/VectorCopyToArray.cs
src/tests/JIT/SIMD/VectorCopyToArray_r.csproj
src/tests/JIT/SIMD/VectorCopyToArray_ro.csproj
src/tests/JIT/SIMD/VectorDiv.cs
src/tests/JIT/SIMD/VectorDiv_r.csproj
src/tests/JIT/SIMD/VectorDiv_ro.csproj
src/tests/JIT/SIMD/VectorDot.cs
src/tests/JIT/SIMD/VectorDot_r.csproj
src/tests/JIT/SIMD/VectorDot_ro.csproj
src/tests/JIT/SIMD/VectorExp.cs
src/tests/JIT/SIMD/VectorExp_r.csproj
src/tests/JIT/SIMD/VectorExp_ro.csproj
src/tests/JIT/SIMD/VectorGet.cs
src/tests/JIT/SIMD/VectorGet_r.csproj
src/tests/JIT/SIMD/VectorGet_ro.csproj
src/tests/JIT/SIMD/VectorHWAccel.cs
src/tests/JIT/SIMD/VectorHWAccel2.cs
src/tests/JIT/SIMD/VectorHWAccel2_r.csproj
src/tests/JIT/SIMD/VectorHWAccel2_ro.csproj
src/tests/JIT/SIMD/VectorHWAccel_r.csproj
src/tests/JIT/SIMD/VectorHWAccel_ro.csproj
src/tests/JIT/SIMD/VectorInit.cs
src/tests/JIT/SIMD/VectorInitN.cs
src/tests/JIT/SIMD/VectorInitN_r.csproj
src/tests/JIT/SIMD/VectorInitN_ro.csproj
src/tests/JIT/SIMD/VectorInit_r.csproj
src/tests/JIT/SIMD/VectorInit_ro.csproj
src/tests/JIT/SIMD/VectorIntEquals.cs
src/tests/JIT/SIMD/VectorIntEquals_r.csproj
src/tests/JIT/SIMD/VectorIntEquals_ro.csproj
src/tests/JIT/SIMD/VectorMatrix.cs
src/tests/JIT/SIMD/VectorMatrix_r.csproj
src/tests/JIT/SIMD/VectorMatrix_ro.csproj
src/tests/JIT/SIMD/VectorMax.cs
src/tests/JIT/SIMD/VectorMax_r.csproj
src/tests/JIT/SIMD/VectorMax_ro.csproj
src/tests/JIT/SIMD/VectorMin.cs
src/tests/JIT/SIMD/VectorMin_r.csproj
src/tests/JIT/SIMD/VectorMin_ro.csproj
src/tests/JIT/SIMD/VectorMul.cs
src/tests/JIT/SIMD/VectorMul_r.csproj
src/tests/JIT/SIMD/VectorMul_ro.csproj
src/tests/JIT/SIMD/VectorRelOp.cs
src/tests/JIT/SIMD/VectorRelOp_r.csproj
src/tests/JIT/SIMD/VectorRelOp_ro.csproj
src/tests/JIT/SIMD/VectorReturn.cs
src/tests/JIT/SIMD/VectorReturn_r.csproj
src/tests/JIT/SIMD/VectorReturn_ro.csproj
src/tests/JIT/SIMD/VectorSet.cs
src/tests/JIT/SIMD/VectorSet_r.csproj
src/tests/JIT/SIMD/VectorSet_ro.csproj
src/tests/JIT/SIMD/VectorSqrt.cs
src/tests/JIT/SIMD/VectorSqrt_r.csproj
src/tests/JIT/SIMD/VectorSqrt_ro.csproj
src/tests/JIT/SIMD/VectorSub.cs
src/tests/JIT/SIMD/VectorSub_r.csproj
src/tests/JIT/SIMD/VectorSub_ro.csproj
src/tests/JIT/SIMD/VectorSum.cs
src/tests/JIT/SIMD/VectorSum_r.csproj
src/tests/JIT/SIMD/VectorSum_ro.csproj
src/tests/JIT/SIMD/VectorUnused.cs
src/tests/JIT/SIMD/VectorUnused_r.csproj
src/tests/JIT/SIMD/VectorUnused_ro.csproj
src/tests/JIT/SIMD/VectorUtil.cs

index 660e21e..5cf5756 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         const float EPS = Single.Epsilon * 5;
 
@@ -20,7 +21,8 @@ namespace VectorMathTests
             return arr;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             short[] arr = GenerateArray(60, 5);
             var a = new System.Numerics.Vector<short>(arr);
index 5152f97..cd74f79 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index bbab5a0..db9878b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index dbb22dc..2d358e1 100644 (file)
@@ -4,12 +4,14 @@ using System;
 using System.Collections.Generic;
 using System.Numerics;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point a = new Point(11, 13, 8, 4);
             Point b = new Point(11, 13, 2, 1);
index 36da5a9..4d452ca 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index c3b6a2d..5fd378d 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index fa09b0d..81fe939 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector2;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
                const float EPS = Single.Epsilon * 5;
                
@@ -41,7 +42,8 @@ namespace VectorMathTests
             return 100;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point a = new Point(0, 0), b = new Point(1, 0);
             Point c = a + b;
index 01f385f..cb35a09 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index aab76d2..fbae124 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 7f90ae0..9e68aa0 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector2;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         public const int DefaultSeed = 20010415;
         public static int Seed = Environment.GetEnvironmentVariable("CORECLR_SEED") switch
@@ -108,7 +109,8 @@ namespace VectorMathTests
             return 100;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             if (TestDouble() != 100)
             {
index 55828a9..1c4f03b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 8ba3c5e..9ced388 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 4cf6ea5..9e487f3 100644 (file)
@@ -3,12 +3,14 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             {
                 var a = new System.Numerics.Vector<int>(1);
index 58c316f..4673409 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6545ede..b470350 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 7af4670..6867357 100644 (file)
@@ -2,12 +2,14 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             int Count = System.Numerics.Vector<int>.Count;
             return 100;
index 5da6dff..04e8c81 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3e1dda7..edf1543 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 10623a1..3c7588d 100644 (file)
@@ -9,6 +9,7 @@ using System.Text;
 using System.Numerics;
 
 using Point = System.Numerics.Vector2;
+using Xunit;
 
 
 namespace ClassLibrary
@@ -51,7 +52,7 @@ namespace ClassLibrary
             return a > b ? a : b;
         }
 
-        static public void swap(ref float a, ref float b)
+        static internal void swap(ref float a, ref float b)
         {
             float c = a;
             a = b;
@@ -242,7 +243,8 @@ namespace ClassLibrary
             return (float)(mantissa * exponent);
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             List<Point> points = new List<Point>();
             Random random = new Random(13);
index 2e470e6..263a340 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 8eaa1f8..a0b3a49 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 46c309d..16f9179 100644 (file)
@@ -3,14 +3,16 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
                const float EPS = Single.Epsilon * 5;
                
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             var a = new System.Numerics.Vector<short>(51);
             for (int i = 0; i < System.Numerics.Vector<short>.Count; ++i)
index dec6efb..d9f9419 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 0d16954..6b29f0f 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 92332b5..5aa8d0b 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector<int>;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         static int[] GenerateArray(int size, int value)
         {
@@ -18,7 +19,8 @@ namespace VectorMathTests
             return arr;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             int v = 2;
             int[] arr = GenerateArray(20, v);
index 6929bd0..417bbbc 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index bca6c14..7f9faa9 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 94fd04d..581c09c 100644 (file)
@@ -3,13 +3,14 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
 
-    class Program
+    public class Program
     {          
         const float EPS = Single.Epsilon * 5;
 
@@ -70,7 +71,8 @@ internal partial class VectorTest
             return 100;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             int returnVal = Pass;
             
index 5e96b50..3b5fb82 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 80fbb73..3f30423 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 0572210..689ebf8 100644 (file)
@@ -1,23 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
 <Project>
+  <Import Project="..\..\Directory.Merged.props" />
   <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
 
   <PropertyGroup>
-    <CLRTestBatchPreCommands>
-      <![CDATA[
-$(CLRTestBatchPreCommands)
-if EXIST SIMD.log (del SIMD.log)
-]]>
-    </CLRTestBatchPreCommands>
-    <CLRTestBashPreCommands>
-      <![CDATA[
-$(CLRTestBashPreCommands)
-rm -f SIMD.log
-]]>
-    </CLRTestBashPreCommands>
+    <RunAnalyzers>true</RunAnalyzers>
+    <EnableNETAnalyzers>false</EnableNETAnalyzers>
   </PropertyGroup>
-
-  <ItemGroup>
-    <CLRTestBashEnvironmentVariable Include="DOTNET_JitFuncInfoLogFile" Value="SIMD.log" />
-  </ItemGroup>
-
 </Project>
index dbb0576..19dd7d2 100644 (file)
@@ -3,12 +3,14 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             {
                 var a = new Vector<uint>(1000000);
index 0289d55..5c20066 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index d687a74..a7f2a81 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 6335218..078c40c 100644 (file)
@@ -3,13 +3,15 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         static Point a;
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point p = new Point(1, 2, 3, 4);
             Point c = p;
index 79707c6..16e9616 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index a9f8cdc..9ae67f1 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 75ae3ff..586bec4 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector<double>;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
                const float EPS = Single.Epsilon * 5;
         public const int DefaultSeed = 20010415;
@@ -140,7 +141,8 @@ namespace VectorMathTests
             return true;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Random random = new Random(Seed);
             int count = Point.Count;
index f93ba0a..3ba0aa0 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index dc38896..08c1b94 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
diff --git a/src/tests/JIT/SIMD/JIT.SIMD.csproj b/src/tests/JIT/SIMD/JIT.SIMD.csproj
new file mode 100644 (file)
index 0000000..24bc1f5
--- /dev/null
@@ -0,0 +1,8 @@
+<Project Sdk="Microsoft.NET.Sdk">
+  <ItemGroup>
+    <MergedWrapperProjectReference Include="**/*.??proj" />
+    <MergedWrapperProjectReference Remove="$(MSBuildThisFileFullPath)" />
+  </ItemGroup>
+
+  <Import Project="$(TestSourceDir)MergedTestRunner.targets" />
+</Project>
index 7f4b504..462a5c0 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         static float Do(Point p)
         {
@@ -23,7 +24,8 @@ namespace VectorMathTests
             public Point p;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point p = new Point(1, 2, 3, 4);
 
index 687a49a..a806379 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector<int>;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         static float Do(Point p)
         {
@@ -23,7 +24,8 @@ namespace VectorMathTests
             public Point p;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point p = new Point(1);
 
index 1431c1d..8898aa6 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index a37f36d..06e01e2 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 28c77e0..936a99c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 6433a57..723dc73 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index a592c56..d9f50ec 100644 (file)
@@ -4,12 +4,14 @@ using System;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace Test
 { 
-    static class Program
+    public static class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point x = new Point(1);
                        Point y, z;
index 890b6a1..def24f2 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index af7ec38..06541bf 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index ef96409..7de0d7b 100644 (file)
@@ -2,8 +2,9 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Numerics;
+using Xunit;
 
-class Matrix4x4Test
+public class Matrix4x4Test
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -30,7 +31,8 @@ class Matrix4x4Test
         return returnVal;
     }
 
-    static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return Matrix4x4CreateScaleCenterTest3();
     }
index b4e8f5f..09da6cc 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 05c2df8..c326443 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index b206a46..8f55acc 100644 (file)
@@ -3,12 +3,14 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point a = new Point(10, 50,0,-100);
             Point b = new Point(10);
index ce7d440..babab50 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index e89d34a..f33fde9 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index fb9c686..40f3966 100644 (file)
@@ -3,12 +3,14 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector2;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
                        Point a = new Point(10, 50);
                        Point b = new Point(10, 10);
index 317e7b5..067d030 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index a6c2541..627e232 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 442d5fd..9b82f08 100644 (file)
@@ -2,8 +2,9 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Numerics;
+using Xunit;
 
-class PlaneTest
+public class PlaneTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -25,7 +26,8 @@ class PlaneTest
         return returnVal;
     }
 
-    static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return PlaneCreateFromVerticesTest();
     }
index f9f1f8d..ee203df 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 022e58f..0ceae23 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 5122d26..fa67892 100644 (file)
@@ -5,6 +5,7 @@ using System.Runtime.CompilerServices;
 using System.Numerics;
 using System.Runtime.InteropServices;
 using System.Collections.Generic;
+using Xunit;
 
 public class Test
 {
@@ -80,7 +81,8 @@ public class Test
     [MethodImpl(MethodImplOptions.NoInlining)]
     private static unsafe int ShrxRef64bit(ushort* x, int y) => *x >> y;
 
-    public static unsafe int Main()
+    [Fact]
+    public static unsafe int TestEntryPoint()
     {
         const int PASS = 100;
         const int FAIL = 101;
index d7141b8..5adf5d1 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
   </PropertyGroup>
   <PropertyGroup>
index bfe36fd..a693920 100644 (file)
@@ -2,12 +2,14 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Numerics;
+using Xunit;
 
 namespace SIMDDebugTest
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Vector4Test.RunTests();
             Vector3Test.RunTests();
index 0177f3a..c3630b3 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 6a53672..dc84fba 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         public const int DefaultSeed = 20010415;
         public static int Seed = Environment.GetEnvironmentVariable("CORECLR_SEED") switch
@@ -16,7 +17,8 @@ namespace VectorMathTests
             _ => DefaultSeed
         };
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Random random = new Random(Seed);
             var a = new System.Numerics.Vector<short>(25);
index d4d3a48..a55b1d2 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 6047c83..5a9a8c3 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index f691d59..35634fe 100644 (file)
@@ -3,12 +3,14 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector<int>;
+using Xunit;
 
 namespace VectorTests
 {
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point p = new Point(1);
             Point[] arr = new Point[10];
index f0615c5..d976a82 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index c196f57..1e141fe 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 2b0053d..604c1e5 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorMathTests
 {
-    class Program
+    public class Program
     {
         public const int DefaultSeed = 20010415;
         public static int Seed = Environment.GetEnvironmentVariable("CORECLR_SEED") switch
@@ -38,7 +39,8 @@ namespace VectorMathTests
             return s.X;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             System.Diagnostics.Stopwatch clock = new System.Diagnostics.Stopwatch();
             clock.Start();
index 9eeb007..9787a04 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 8883826..59553bc 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 1e1fd64..cdd473a 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector3;
+using Xunit;
 
 namespace VectorTests
 {
-    class Program
+    public class Program
     {
         const float EPS = Single.Epsilon * 5;
                
@@ -15,7 +16,8 @@ namespace VectorTests
             return Math.Abs(a - b) < EPS;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point a = new Point(1, 2, 3);
             Point b = new Point(2, 2, 5);
index 64d7c96..e67e209 100644 (file)
@@ -11,8 +11,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -60,7 +61,8 @@ internal partial class VectorTest
             Assert.NotEqual(v7.GetHashCode(), v9.GetHashCode());
         }
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             int returnVal = Pass;
 
index 9adfd0c..9b2514a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 441e856..c67d0ce 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index fa402d3..2984709 100644 (file)
@@ -21,6 +21,7 @@ using System.Diagnostics;
 using System.Numerics;
 using System.Runtime.InteropServices;
 using System.Text;
+using Xunit;
 
 
 public struct DT 
@@ -549,9 +550,10 @@ class RPInvokeTest
     }     
 }
 
-class Test_Vector3Interop 
+public class Test_Vector3Interop 
 {  
-    public static int Main() 
+    [Fact]
+    public static int TestEntryPoint() 
     {
 
         if (!PInvokeTest.test()) 
index 4fc3951..86878e7 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CMakeProjectReference -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index 286abb4..543f022 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CMakeProjectReference -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index bf64cbe..c3496bf 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 31e39d9..97418e2 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 61b31ac..288265f 100644 (file)
@@ -3,10 +3,11 @@
 using System;
 using System.Collections.Generic;
 using Point = System.Numerics.Vector4;
+using Xunit;
 
 namespace VectorTests
 {
-    class Program
+    public class Program
     {
         const float EPS = Single.Epsilon * 5;
 
@@ -15,7 +16,8 @@ namespace VectorTests
             return Math.Abs(a - b) < EPS;
         }
 
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Point a = new Point(1, 2, 3, 4);
             Point b = new Point(2, 2, 1, 1);
index 3f433f2..689eeda 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 7ddae69..103b176 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index f4f8936..5a11e05 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -67,7 +68,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index ad36266..4ec826b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index c1f3a3e..070c507 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 034f1cd..bd5daa1 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -69,7 +70,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorAddTest<float>.VectorAdd(1, 2, (float)(1 + 2)) != Pass) returnVal = Fail;
index 5a4b965..22c4716 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index b78687e..6d09b2e 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 6960448..b8abc1f 100644 (file)
@@ -4,6 +4,7 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
 internal class Color
 {
@@ -29,7 +30,7 @@ internal class Color
     public Vector<float> RGB { get { return _rgb; } }
 }
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private static int VectorArgs()
     {
@@ -59,7 +60,8 @@ internal partial class VectorTest
         return Pass;
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return VectorArgs();
     }
index 83dfe64..8f7f986 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 7368953..1b660e4 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 4de9682..269ddc4 100644 (file)
@@ -6,8 +6,9 @@ using System;
 using System.Numerics;
 using System.Runtime.Intrinsics.Arm;
 using System.Runtime.Intrinsics.X86;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -141,7 +142,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         try
index 03659b9..662a7b9 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -125,7 +126,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         Random random = new Random(Seed);
index 8882cc2..3db76ce 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 13d13f8..2cbc0f2 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 1989536..3e10452 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 38e3122..7baca7b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index b32e21e..8e4edd0 100644 (file)
@@ -5,8 +5,9 @@
 using System;
 using System.Numerics;
 using System.Runtime.CompilerServices;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     const int Pass = 100;
     const int Fail = -1;
@@ -74,7 +75,8 @@ internal partial class VectorTest
         return success;
     }
 
-    static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         bool succeeded = true;
 
index 9dc3335..1684ae9 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 5a38fad..7efd424 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 5c7cdfa..8914fc4 100644 (file)
@@ -4,13 +4,15 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         
index 9f98e36..6e12061 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 95c2407..5041371 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 3821c81..9bd57b9 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-partial class VectorTest
+public partial class VectorTest
 {
     const int Pass = 100;
     const int Fail = -1;
@@ -493,7 +494,8 @@ partial class VectorTest
         }
     }
 
-    static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index df5a5a7..6247dba 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <DefineConstants>TARGET_32BIT;$(DefineConstants)</DefineConstants>
     <!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
     <CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
index fe343d2..f1b5f83 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
     <CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
     <DebugType>None</DebugType>
index dc59717..97fff57 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <DefineConstants>TARGET_32BIT;$(DefineConstants)</DefineConstants>
     <!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
     <CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
index 7e03015..695caec 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
     <CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
     <DebugType>None</DebugType>
index e33af54..7a42916 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -126,7 +127,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         Random random = new Random(Seed);
index 654cb6a..3f2c6eb 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index fba4774..3217c0b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index bba58b8..20d5b0d 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -70,7 +71,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorMulTest<float>.VectorDiv(6f, 2f, 6f / 2f) != Pass) returnVal = Fail;
index 990720b..ad673c9 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index a232484..2641e3e 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 1bc057e..3bac9ac 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -94,7 +95,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorDotTest<float>.VectorDot(3f, 2f, 6f * Vector<float>.Count) != Pass) returnVal = Fail;
index ed357b1..d50cb55 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index b8648f5..7461241 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 306d2cf..bf0ddfe 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -42,7 +43,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index f67884b..a710da1 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index b860957..df0d1d9 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index aa9fb11..51c78f2 100644 (file)
@@ -7,8 +7,9 @@ using System.Numerics;
 using System.Runtime.CompilerServices;
 using System.Runtime.Intrinsics.Arm;
 using System.Runtime.Intrinsics.X86;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -168,7 +169,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorGetTest<Double>.VectorGet(101D, 1) == Fail) returnVal = Fail;
index 872c9f5..189afc4 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 650eb9b..61b1f4c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index c54001b..1dc91ce 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -35,7 +36,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorHWAccelTest<float>.VectorHWAccel(1, 2, (float)(1 + 2)) != Pass) returnVal = Fail;
index 51ec235..fd47483 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -28,7 +29,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         if (Vector.IsHardwareAccelerated)
         {
index 55f8ba4..2f15d50 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index d6af406..71b0af7 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 917a0bd..44fa05e 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index fdcfd4a..3550398 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 26984d5..77d2bd8 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -36,7 +37,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index f59344a..42630e8 100644 (file)
@@ -5,8 +5,9 @@
 using System;
 using System.Numerics;
 using System.Runtime.CompilerServices;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -98,7 +99,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index 1e40540..194cc22 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index bc1a7db..800eabf 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index baa1f1c..66d589c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 175fa41..a69df51 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index ffbe91e..8947f6f 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private static int VectorIntEquals()
     {
@@ -81,7 +82,8 @@ internal partial class VectorTest
         return Pass;
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return VectorIntEquals();
     }
index ee3892e..55bd053 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index aa874a9..5601f95 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 96388ce..bdee396 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -200,7 +201,8 @@ internal partial class VectorTest
         return returnVal;
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index 24dee09..37cc458 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 4bd8df3..42c1fc8 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 92c2a83..18291fa 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -70,7 +71,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorMaxTest<float>.VectorMax(2f, 3f, 3f) != Pass) returnVal = Fail;
index 25056f1..062495b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 800c0ac..7f1a755 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 80cd5e6..a682a8c 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -70,7 +71,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorMinTest<float>.VectorMin(2f, 3f, 2f) != Pass) returnVal = Fail;
index 5d00410..99bd248 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 59c1fae..54c52ca 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 76b0713..7bad402 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -92,7 +93,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorMulTest<float>.VectorMul(2, 3, (float)(2 * 3), (float)(2 * 3) * (2 * 3), (float)(3 * 3)) != Pass)
index 5d4db88..15a0dbc 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 0a2f79c..8f0e1ec 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 454b4e9..8e746f1 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -141,7 +142,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorRelopTest<float>.VectorRelOp(3, 2) != Pass) returnVal = Fail;
index b5ad275..47d5057 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index da0c138..78513be 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 2530b81..a92f563 100644 (file)
@@ -5,8 +5,9 @@
 using System;
 using System.Numerics;
 using System.Runtime.CompilerServices;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -38,7 +39,7 @@ internal partial class VectorTest
     };
 
     [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public static void init()
+    internal static void init()
     {
         Random random = new Random(Seed);
 
@@ -221,7 +222,8 @@ internal partial class VectorTest
         return Pass;
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         init();
 
index ee03bdf..973865c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 0d8e171..7acbae3 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 733b0db..0231d7a 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -71,7 +72,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorSetTest.VectorSet(3.14f) == Fail) returnVal = Fail;
index 264e976..bb0b5db 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index a86d5c7..e6c8264 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 143e985..f9a013d 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -32,7 +33,8 @@ internal partial class VectorTest
     }
 
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorSqrtTest<float>.VectorSqrt(25f, 5f, 1E-06f) != Pass)
index 07601f4..cce97b7 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bfe2359..9410458 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index e4c7518..4369883 100644 (file)
@@ -4,8 +4,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -66,7 +67,8 @@ internal partial class VectorTest
             return Pass;
         }
     }
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
         if (VectorSubTest<float>.VectorSub(3, 2, (float)(3 - 2)) != Pass) returnVal = Fail;
index 8fe00ef..176b536 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index d68b58e..275aca7 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 0a6bf67..9930acb 100644 (file)
@@ -6,8 +6,9 @@ using System;
 using System.Numerics;
 using System.Runtime.Intrinsics.Arm;
 using System.Runtime.Intrinsics.X86;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -27,7 +28,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index 56a3fad..db41de4 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index 3a4794c..26bb984 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 631d482..bb6050d 100644 (file)
@@ -9,8 +9,9 @@
 
 using System;
 using System.Numerics;
+using Xunit;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     private const int Pass = 100;
     private const int Fail = -1;
@@ -61,7 +62,8 @@ internal partial class VectorTest
         }
     }
 
-    private static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int returnVal = Pass;
 
index 34274d5..bad7dba 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize />
   </PropertyGroup>
index dca713e..7efbb4e 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 9824d25..3bb3417 100644 (file)
@@ -6,7 +6,7 @@ using System;
 using System.Numerics;
 using System.IO;
 
-internal partial class VectorTest
+public partial class VectorTest
 {
     public static bool CheckValue<T>(T value, T expectedValue)
     {