Adding netstandard configuration for System.Runtime.Tests (dotnet/corefx#32032)
authorJose Perez Rodriguez <joperezr@microsoft.com>
Thu, 30 Aug 2018 18:43:53 +0000 (11:43 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Aug 2018 18:43:53 +0000 (11:43 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/f252ef6d695176143aa46b855db5553fb6e44921

src/libraries/Common/tests/Common.Tests.csproj
src/libraries/System.Runtime/tests/Configurations.props
src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj

index b8ee4c9..a00b71d 100644 (file)
@@ -80,7 +80,6 @@
     <Compile Include="Tests\System\Text\ValueStringBuilderTests.cs" />
     <Compile Include="Tests\System\SpanTestHelpers.cs" />
     <Compile Include="Tests\System\StringExtensions.Tests.cs" />
-    <Compile Include="Tests\System\StringTests.cs" />
     <Compile Include="Tests\System\Collections\Generic\ArrayBuilderTests.cs" />
     <Compile Include="Tests\System\Collections\Generic\LargeArrayBuilderTests.cs" />
     <Compile Include="Tests\System\IO\RowConfigReaderTests.cs" />
index c0cb0f7..5c79a3e 100644 (file)
@@ -3,6 +3,7 @@
   <PropertyGroup>
     <BuildConfigurations>
       netcoreapp;
+      netstandard;
       netfx;
       uap;
       uapaot;
index 7434fac..b1a20de 100644 (file)
@@ -5,7 +5,7 @@
     <NoWarn>1718</NoWarn>
     <!-- Please don't delete. We need App.config for netfx -->
     <NETFxTestRunnerAppConfig Condition="'$(TargetGroup)' == 'netfx'">$(MSBuildProjectDirectory)\App.config</NETFxTestRunnerAppConfig>
-    <Configurations>netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;uap-Debug;uap-Release;uapaot-Debug;uapaot-Release</Configurations>
+    <Configurations>netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;uap-Debug;uap-Release;uapaot-Debug;uapaot-Release</Configurations>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="$(CommonTestPath)\System\EnumTypes.cs">
       <Link>Common\System\RandomDataGenerator.cs</Link>
     </Compile>
   </ItemGroup>
-  <ItemGroup Condition="'$(TargetGroup)' != 'netfx'">
+  <ItemGroup Condition="'$(TargetGroup)' != 'netfx' And '$(TargetGroup)' != 'netstandard'">
     <Compile Include="System\HashCodeTests.netcoreapp.cs" />
     <Compile Include="Helpers.netcoreapp.cs" />
     <Compile Include="System\ActivatorTests.netcoreapp.cs" />
   <ItemGroup Condition="'$(TargetGroup)' != 'netcoreapp'">
     <Compile Include="System\StringSplitExtensions.cs" />
   </ItemGroup>
-  <ItemGroup Condition="'$(TargetGroup)' == 'netfx'">
+  <ItemGroup Condition="'$(TargetGroup)' == 'netfx' Or '$(TargetGroup)' == 'netstandard'">
     <Compile Include="$(CommonTestPath)\Tests\System\SpanExtensions.netstandard.cs">
       <Link>System\SpanExtensions.netstandard.cs</Link>
     </Compile>