diff --git a/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.props b/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.props index e520741fa3..dd795d4f0d 100644 --- a/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.props +++ b/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.props @@ -1,5 +1,5 @@ - + $(NoWarn);NU5125;NU3005 @@ -8,16 +8,12 @@ - - true - false + MSTest - - true - false + NUnit @@ -37,9 +33,6 @@ 3.15.1 - - - netcoreapp3.1;net472;net46;netcoreapp1.1;netcoreapp2.0 @@ -71,7 +64,7 @@ true $(MSBuildThisFileDirectory)..\..\RoslynSDK.ruleset - + diff --git a/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.targets b/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.targets index b74217fee4..c70b0af6f8 100644 --- a/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.targets +++ b/tests/Microsoft.CodeAnalysis.Testing/Directory.Build.targets @@ -1,11 +1,8 @@ - + - - - \ No newline at end of file diff --git a/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.props b/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.props deleted file mode 100644 index 8c119d5413..0000000000 --- a/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.props +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.targets b/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.targets deleted file mode 100644 index a8967a255b..0000000000 --- a/tests/Microsoft.CodeAnalysis.Testing/tools/MSTest/MSTest.targets +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - <_TestEnvironment>%(TestToRun.EnvironmentDisplay) - <_TestAssembly>%(TestToRun.Identity) - <_TestRuntime>%(TestToRun.TestRuntime) - <_TestTimeout>%(TestToRun.TestTimeout) - <_TestRunnerAdditionalArguments>%(TestToRun.TestRunnerAdditionalArguments) - - <_TestRunnerTargetFramework>net451 - - - - <_MSTestConsoleExe>vstest.console.exe - <_MSTestConsoleExePath>$(NuGetPackageRoot)microsoft.testplatform/$(MicrosoftTestPlatformVersion)/tools/$(_TestRunnerTargetFramework)/Common7/IDE/Extensions/TestPlatform/$(_MSTestConsoleExe) - - - <_TestRunnerArgs>"$(_TestAssembly)" /Platform:%(TestToRun.Architecture) /Framework:%(TestToRun.TargetFramework) /Logger:trx;LogFileName="%(TestToRun.ResultsXmlPath)" $(_TestRunnerAdditionalArguments) - <_TestRunnerArgs Condition="'$(_TestRuntime)' == 'Mono'">$(TestRuntimeAdditionalArguments) "$(_MSTestConsoleExePath)" $(_TestRunnerArgs) - - - <_TestRunner Condition="'$(_TestRuntime)' == 'Mono'">$(MonoTool) - <_TestRunner Condition="'$(_TestRuntime)' != 'Mono'">$(_MSTestConsoleExePath) - - - - <_TestRunnerCommand>"$(_TestRunner)" $(_TestRunnerArgs) - - - <_TestRunnerCommand Condition="'$(TestCaptureOutput)' != 'false'">$(_TestRunnerCommand) > "%(TestToRun.ResultsStdOutPath)" 2>&1 - - - - - <_OutputFiles Include="%(TestToRun.ResultsXmlPath)" /> - <_OutputFiles Include="%(TestToRun.ResultsStdOutPath)" /> - - - - - - - - - - - - - - - - - - <_ResultsFileToDisplay>%(TestToRun.ResultsHtmlPath) - <_ResultsFileToDisplay Condition="!Exists('$(_ResultsFileToDisplay)')">%(TestToRun.ResultsStdOutPath) - - - - - - - - - - diff --git a/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.props b/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.props deleted file mode 100644 index 736332286e..0000000000 --- a/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.props +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.targets b/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.targets deleted file mode 100644 index 7720be5d22..0000000000 --- a/tests/Microsoft.CodeAnalysis.Testing/tools/NUnit/NUnit.targets +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - <_TestEnvironment>%(TestToRun.EnvironmentDisplay) - <_TestAssembly>%(TestToRun.Identity) - <_TestRuntime>%(TestToRun.TestRuntime) - <_TestTimeout>%(TestToRun.TestTimeout) - <_TestRunnerAdditionalArguments>%(TestToRun.TestRunnerAdditionalArguments) - - <_TestRunnerTargetFramework>net451 - - - - <_VSTestConsoleExe>vstest.console.exe - <_VSTestConsoleExePath>$(NuGetPackageRoot)microsoft.testplatform/$(MicrosoftTestPlatformVersion)/tools/$(_TestRunnerTargetFramework)/Common7/IDE/Extensions/TestPlatform/$(_VSTestConsoleExe) - - - <_TestRunnerArgs>"$(_TestAssembly)" /Platform:%(TestToRun.Architecture) /Framework:%(TestToRun.TargetFramework) /Logger:trx;LogFileName="%(TestToRun.ResultsXmlPath)" $(_TestRunnerAdditionalArguments) - <_TestRunnerArgs Condition="'$(_TestRuntime)' == 'Mono'">$(TestRuntimeAdditionalArguments) "$(_VSTestConsoleExePath)" $(_TestRunnerArgs) - - - <_TestRunner Condition="'$(_TestRuntime)' == 'Mono'">$(MonoTool) - <_TestRunner Condition="'$(_TestRuntime)' != 'Mono'">$(_VSTestConsoleExePath) - - - - <_TestRunnerCommand>"$(_TestRunner)" $(_TestRunnerArgs) - - - <_TestRunnerCommand Condition="'$(TestCaptureOutput)' != 'false'">$(_TestRunnerCommand) > "%(TestToRun.ResultsStdOutPath)" 2>&1 - - - - <_OutputFiles Include="%(TestToRun.ResultsXmlPath)" /> - <_OutputFiles Include="%(TestToRun.ResultsStdOutPath)" /> - - - - - - - - - - - - - - - - - - <_ResultsFileToDisplay>%(TestToRun.ResultsHtmlPath) - <_ResultsFileToDisplay Condition="!Exists('$(_ResultsFileToDisplay)')">%(TestToRun.ResultsStdOutPath) - - - - - - - - - - diff --git a/tests/VisualStudio.Roslyn.SDK/Directory.Build.targets b/tests/VisualStudio.Roslyn.SDK/Directory.Build.targets index 5ddf69387d..4884c0c1f0 100644 --- a/tests/VisualStudio.Roslyn.SDK/Directory.Build.targets +++ b/tests/VisualStudio.Roslyn.SDK/Directory.Build.targets @@ -1,6 +1,6 @@ - +