From ce89a9a44830039c7883d2d7bf4f32c110e71426 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Mon, 18 Nov 2019 14:48:35 -0800 Subject: [PATCH 1/2] Disable tests on CoreCLR using new attribute --- NuGet.config | 1 + eng/Versions.props | 2 +- eng/helixcorefxtests.proj | 28 +------ src/coreclr/tests/CoreFX/CoreFX.issues.rsp | 73 ------------------- .../tests/scripts/run-corefx-tests.bat | 1 - ...ationBuilderAttributedOverrideUnitTests.cs | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ .../System.Data.SqlClient.Tests.csproj | 1 + .../tests/AssemblyInfo.cs | 7 ++ .../System.Linq.Expressions.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ .../System.Net.Http.Functional.Tests.csproj | 1 + .../tests/HttpListenerAuthenticationTests.cs | 1 + .../tests/HttpListenerContextTests.cs | 1 + .../HttpListenerResponseTests.Cookies.cs | 1 + .../tests/HttpListenerResponseTests.cs | 2 + .../tests/Functional/SmtpClientTest.cs | 1 + .../System.Net.Requests/tests/LoggingTest.cs | 1 + .../tests/FunctionalTests/SslStreamSniTest.cs | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ .../System.Net.Sockets.Tests.csproj | 1 + .../BigInteger/BigIntegerToStringTests.cs | 1 + .../tests/BinaryFormatterTests.cs | 1 + .../tests/Regex.Match.Tests.cs | 1 + ...ystem.Utf8String.Experimental.Tests.csproj | 1 + 25 files changed, 50 insertions(+), 100 deletions(-) delete mode 100644 src/coreclr/tests/CoreFX/CoreFX.issues.rsp create mode 100644 src/libraries/System.Data.SqlClient/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Linq.Expressions/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs diff --git a/NuGet.config b/NuGet.config index 6b6e54b554f77f..d8f0d5ea500a69 100644 --- a/NuGet.config +++ b/NuGet.config @@ -16,6 +16,7 @@ + diff --git a/eng/Versions.props b/eng/Versions.props index b14b34b99ae734..0ec5250c0d7e4a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,7 +37,7 @@ 5.0.0-beta.19567.2 5.0.0-beta.19567.2 5.0.0-beta.19567.2 - 5.0.0-beta.19567.2 + 5.0.0-dev 2.5.1-beta.19567.2 5.0.0-beta.19567.2 5.0.0-beta.19567.2 diff --git a/eng/helixcorefxtests.proj b/eng/helixcorefxtests.proj index 7b14fb1d0ca70a..5eb26c3a77c31d 100644 --- a/eng/helixcorefxtests.proj +++ b/eng/helixcorefxtests.proj @@ -89,15 +89,6 @@ $(ProjectDir)artifacts\tests\coreclr\$(__BuildOS).$(__BuildArch).$(__BuildType)\ true - - $(ProjectDir)src\coreclr\tests\CoreFX\CoreFX.issues.rsp - $(TestWorkingDir)testhost\ $(TestWorkingDir)helix\ @@ -118,23 +109,10 @@ The arguments passed in to the run script in are the runtime directory (-r) and the exclusion response file passed to xunit (rsp-file). --> - call RunTests.cmd -r %HELIX_CORRELATION_PAYLOAD% --rsp-file %HELIX_CORRELATION_PAYLOAD%\CoreFX.issues.rsp - ./RunTests.sh -r $HELIX_CORRELATION_PAYLOAD --rsp-file $HELIX_CORRELATION_PAYLOAD/CoreFX.issues.rsp + call RunTests.cmd -r %HELIX_CORRELATION_PAYLOAD% + ./RunTests.sh -r $HELIX_CORRELATION_PAYLOAD - - - - - - - SetStressModes_$(Scenario).cmd @@ -178,7 +156,7 @@ This just causes its dependent targets to be run. --> + DependsOnTargets="CreateAllScenarioTestEnvFiles" > + $(ProjectDir)src\coreclr\tests\CoreFX\CoreFX.issues.rsp + $(TestWorkingDir)testhost\ $(TestWorkingDir)helix\ @@ -109,10 +118,23 @@ The arguments passed in to the run script in are the runtime directory (-r) and the exclusion response file passed to xunit (rsp-file). --> - call RunTests.cmd -r %HELIX_CORRELATION_PAYLOAD% - ./RunTests.sh -r $HELIX_CORRELATION_PAYLOAD + call RunTests.cmd -r %HELIX_CORRELATION_PAYLOAD% --rsp-file %HELIX_CORRELATION_PAYLOAD%\CoreFX.issues.rsp + ./RunTests.sh -r $HELIX_CORRELATION_PAYLOAD --rsp-file $HELIX_CORRELATION_PAYLOAD/CoreFX.issues.rsp + + + + + + + SetStressModes_$(Scenario).cmd @@ -156,7 +178,7 @@ This just causes its dependent targets to be run. --> + DependsOnTargets="CopyRSPFile;CreateAllScenarioTestEnvFiles" >