Remove test script
This commit is contained in:
parent
0401935d31
commit
cdb75966eb
3 changed files with 1 additions and 47 deletions
|
@ -204,9 +204,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
{
|
||||
get
|
||||
{
|
||||
return _verbose ?
|
||||
"--verbose" :
|
||||
"";
|
||||
return _verbose ? "--verbose" : "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="dotnet-buildtools" value="https://myget.org/F/dotnet-buildtools/api/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue