From cdb75966eba580970f52316ec78582e958fb6565 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 26 Apr 2016 09:12:39 -0700 Subject: [PATCH] Remove test script --- .../Commands/BuildCommand.cs | 4 +- test/dotnet-performance.Tests/RunMultiCli.ps1 | 38 ------------------- test/dotnet-performance.Tests/nuget.config | 6 --- 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 test/dotnet-performance.Tests/RunMultiCli.ps1 delete mode 100644 test/dotnet-performance.Tests/nuget.config diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs index 0ebd04b90..351724f4a 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs @@ -204,9 +204,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities { get { - return _verbose ? - "--verbose" : - ""; + return _verbose ? "--verbose" : ""; } } diff --git a/test/dotnet-performance.Tests/RunMultiCli.ps1 b/test/dotnet-performance.Tests/RunMultiCli.ps1 deleted file mode 100644 index 2caa37e25..000000000 --- a/test/dotnet-performance.Tests/RunMultiCli.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -param($versions,$file) - -function cleanpath() -{ - $env:PATH=($env:PATH.Split(";") | Where { !$_.Contains("dotnet") }) -Join ";" -} -foreach($ver in $versions) -{ - cleanpath; - if ($ver -ne "dev") - { - Write-Host -ForegroundColor Green "Installing $ver" - $dotnetPath = "$PSScriptRoot\.dotnet\$ver" - if (!(test-path $dotnetPath)) - { - & ($PSScriptRoot+"\..\..\scripts\obtain\install.ps1") preview $ver $dotnetPath; - } - $env:PATH = "$dotnetPath;"+$env:PATH - } - else - { - Write-Host -ForegroundColor Green "Using dev" - & ($PSScriptRoot+"\..\..\scripts\use-dev.ps1"); - } - cmd /c "where dotnet" | Write-Host -ForegroundColor Green - dotnet --version | Write-Host -ForegroundColor Green - - dotnet test ` - | Where {$_.startswith("[RESULT]") } ` - | %{ - $_ | Write-Host -ForegroundColor Blue - if ($file) - { - $csvLine = $ver + $_.Replace(" ", ",").Replace("[RESULT]","").Replace("sec/iteration", ""); - Add-Content $file $csvLine - } - } -} \ No newline at end of file diff --git a/test/dotnet-performance.Tests/nuget.config b/test/dotnet-performance.Tests/nuget.config deleted file mode 100644 index faeee1d91..000000000 --- a/test/dotnet-performance.Tests/nuget.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -